Simple Question (Direct)
Simple Question
Q6915208
P19
Q56061
USER
Which administrative territory was Mory Koné born at ?
(Q6915208,P19,c(Q56061))
action filter_type
action find
entity Q6915208
relation P19
type Q56061
['Q6915208', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q6915208 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Mory Koné
action filter_type
action find
entity Mory Koné
relation place of birth
type administrative territorial entity
['Mory Koné', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Mory_Koné property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q6915208,P19,c(Q56061))
action filter_type
action find
entity Q6915208
relation P19
type Q56061
Mory Koné was born in [ANSWER]
['Q6915208', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q6915208 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Paris
Mory Koné was born in Paris
Paris
action filter_type
action find
entity Mory Koné
relation place of birth
type administrative territorial entity
['Mory Koné', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Mory_Koné property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6915208
P27
Q15617994
USER
Which administrative territory does Mory Koné belong to ?
(Q6915208,P27,c(Q15617994))
action filter_type
action find
entity Q6915208
relation P27
type Q15617994
['Q6915208', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q6915208 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Mory Koné
action filter_type
action find
entity Mory Koné
relation country of citizenship
type designation for an administrative territorial entity
['Mory Koné', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Mory_Koné property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q6915208,P27,c(Q15617994))
action filter_type
action find
entity Q6915208
relation P27
type Q15617994
Mory Koné belongs to [ANSWER]
['Q6915208', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q6915208 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
France
Mory Koné belongs to France
France
action filter_type
action find
entity Mory Koné
relation country of citizenship
type designation for an administrative territorial entity
['Mory Koné', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Mory_Koné property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q2088357
USER
How many administrative territories did more number of works of art or musical ensembles originate than that administrative territory ?
(c(Q838948)|c(Q2088357),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q838948
type Q2088357
[[{'concept': 'Q838948'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?w WHERE { VALUES ( ?h ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } . ?u rdf:type ?h } GROUP BY ?w } . FILTER ( ?p > ?a ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P495 resource:Q142 . { { ?d rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q2088357 } } } } }
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type work of art
type musical ensemble
[[{'concept': 'work of art'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?w WHERE { VALUES ( ?h ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } . ?u rdf:type ?h } GROUP BY ?w } . FILTER ( ?p > ?a ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:country_of_origin resource:France . { { ?d rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:musical_ensemble } } } } }
[]
designation for an administrative territorial entity work of art musical ensemble
SYSTEM
3
Q668 Q145 Q30
(c(Q838948)|c(Q2088357),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q838948
type Q2088357
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?w WHERE { VALUES ( ?h ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } . ?u rdf:type ?h } GROUP BY ?w } . FILTER ( ?p > ?a ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P495 resource:Q142 . { { ?d rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q2088357 } } } } }
India United Kingdom United States of America
3
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type work of art
type musical ensemble
[[{'concept': 'work of art'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) ?w WHERE { VALUES ( ?h ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } . ?u rdf:type ?h } GROUP BY ?w } . FILTER ( ?p > ?a ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:country_of_origin resource:France . { { ?d rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:musical_ensemble } } } } }
[]