Issue/1157

De Semantic MediaWiki - Sandbox
Description Use inverse predefined properties in concept
Parent topic Issue
Extension(s) Semantic MediaWiki
Keyword(s) concept query·#ask·inverse property
https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1157, Concept:Issue/1157/1, Concept:Issue/1157/2


 Has page
Issue/1157/1
Issue/1157/2Issue/1157/2
Debug outputElasticStore
{ "smw": { "query": "[[Concept:Issue/1157/1]] OR [[Concept:Issue/1157/2]]", "sort": { "": "ASC" }, "metrics": { "query size": 2, "query depth": 0 }, "description_log": [ { "Disjunction": " <q>[[Concept:Issue/1157/1]] OR [[Concept:Issue/1157/2]]</q> " }, [ { "ConceptDescription": "[[-Has page.-Has subobject::Issue/1157/1]]" } ], [ { "ConceptDescription": "[[-Has page.-Has page::Issue/1157/2]]" } ] ] }, "elastic": [ { "inverse_lookup_query": [ "_SOBJ", "[[:Issue/1157/1]]" ], "query": { "index": "smw-data-db9910120150926-02100_", "type": "data", "body": { "_source": [ "P:33234.wpgID" ], "query": { "constant_score": { "filter": { "bool": { "must": { "terms": { "_id": [ 1201 ] } } } } } } }, "size": 10000 }, "search_info": { "took": 1, "timed_out": false, "max_score": 1, "total": 1 }, "isFromCache": false }, { "chain_lookup_query": [ "_SOBJ", "[[-Has subobject::Issue/1157/1]]" ], "query": { "index": "smw-data-db9910120150926-02100_", "type": "data", "body": { "_source": false, "query": { "constant_score": { "filter": { "bool": { "must": { "bool": { "filter": { "terms": { "_id": [ 1202 ] } } } } } } } } }, "size": 10000 }, "search_info": { "took": 1, "timed_out": false, "max_score": 1, "total": 1 }, "isFromCache": false }, { "inverse_lookup_query": [ "Has_page", "[[-Has subobject::Issue/1157/1]]" ], "query": { "index": "smw-data-db9910120150926-02100_", "type": "data", "body": { "_source": [ "P:32975.wpgID" ], "query": { "constant_score": { "filter": { "bool": { "must": { "terms": { "_id": [ 1202 ] } } } } } } }, "size": 10000 }, "search_info": { "took": 1, "timed_out": false, "max_score": 1, "total": 1 }, "isFromCache": false }, { "concept_lookup_query": [ "Issue/1157/1#108##", "[[-Has page.-Has subobject::Issue/1157/1]]" ], "query": { "index": "smw-data-db9910120150926-02100_", "type": "data", "body": { "_source": false, "query": { "constant_score": { "filter": { "terms": { "_id": [ 1201 ] } } } } }, "size": 10000 }, "search_info": { "took": 1, "timed_out": false, "max_score": 1, "total": 1 }, "isFromCache": false }, { "inverse_lookup_query": [ "Has_page", "[[:Issue/1157/2]]" ], "query": { "index": "smw-data-db9910120150926-02100_", "type": "data", "body": { "_source": [ "P:32975.wpgID" ], "query": { "constant_score": { "filter": { "bool": { "must": { "terms": { "_id": [ 1204 ] } } } } } } }, "size": 10000 }, "search_info": { "took": 1, "timed_out": false, "max_score": 1, "total": 1 }, "isFromCache": false }, { "chain_lookup_query": [ "Has_page", "[[-Has page::Issue/1157/2]]" ], "query": { "index": "smw-data-db9910120150926-02100_", "type": "data", "body": { "_source": false, "query": { "constant_score": { "filter": { "bool": { "must": { "bool": { "filter": { "terms": { "_id": [ 1204 ] } } } } } } } } }, "size": 10000 }, "search_info": { "took": 0, "timed_out": false, "max_score": 1, "total": 1 }, "isFromCache": false }, { "inverse_lookup_query": [ "Has_page", "[[-Has page::Issue/1157/2]]" ], "query": { "index": "smw-data-db9910120150926-02100_", "type": "data", "body": { "_source": [ "P:32975.wpgID" ], "query": { "constant_score": { "filter": { "bool": { "must": { "terms": { "_id": [ 1204 ] } } } } } } }, "size": 10000 }, "search_info": { "took": 1, "timed_out": false, "max_score": 1, "total": 1 }, "isFromCache": false }, { "concept_lookup_query": [ "Issue/1157/2#108##", "[[-Has page.-Has page::Issue/1157/2]]" ], "query": { "index": "smw-data-db9910120150926-02100_", "type": "data", "body": { "_source": false, "query": { "constant_score": { "filter": { "terms": { "_id": [ 1204 ] } } } } }, "size": 10000 }, "search_info": { "took": 0, "timed_out": false, "max_score": 1, "total": 1 }, "isFromCache": false }, { "index": "smw-data-db9910120150926-02100_", "type": "data", "body": { "_source": false, "from": 0, "size": 251, "query": { "constant_score": { "filter": { "bool": { "should": [ { "ids": { "values": [ 1201 ] } }, { "ids": { "values": [ 1204 ] } } ] } } } }, "sort": [ { "subject.sortkey.sort": { "order": "asc" }, "subject.title.sort": { "order": "asc" } } ] } }, { "_shards": { "total": 1, "successful": 1, "failed": 0 }, "valid": true, "explanations": [ { "index": "smw-data-db9910120150926-02100_-v1", "valid": true, "explanation": "+ConstantScore((_id:([fe 12 1]) _id:([fe 12 4]))~1) #*:*" } ] } ] }
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.