Simple Question (Direct)
Simple Question
Q717764
P734
Q82799
USER
Who is associated with Jean-Marc Gaillard ?
(Q717764,P734,c(Q82799))
action filter_type
action find
entity Q717764
relation P734
type Q82799
['Q717764', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q717764 property:P734 ?p }
Jean-Marc Gaillard
action filter_type
action find
entity Jean-Marc Gaillard
relation family name
type name
['Jean-Marc Gaillard', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:Jean-Marc_Gaillard property:family_name ?p }
[]
name
Q23773302
SYSTEM
Gaillard
Q23773302
(Q717764,P734,c(Q82799))
action filter_type
action find
entity Q717764
relation P734
type Q82799
[ANSWER] is associated with Jean-Marc [ANSWER]
['Q717764', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q717764 property:P734 ?p }
Gaillard
Gaillard is associated with Jean-Marc Gaillard
Gaillard
action filter_type
action find
entity Jean-Marc Gaillard
relation family name
type name
['Jean-Marc Gaillard', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:Jean-Marc_Gaillard property:family_name ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q717764
P19
Q20667921
USER
Which french administrative division is the birthplace of that person ?
(Q23773302,P19,c(Q20667921))
action filter_type
action find
entity Q717764
relation P19
type Q20667921
['Q23773302', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q717764 property:P19 ?h . ?h rdf:type ontology:Q20667921 }
Jean-Marc Gaillard
action filter_type
action find
entity Jean-Marc Gaillard
relation place of birth
type type of french administrative division
['Gaillard', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Jean-Marc_Gaillard property:place_of_birth ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q212901
SYSTEM
Annemasse
Q212901
(Q23773302,P19,c(Q20667921))
action filter_type
action find
entity Q717764
relation P19
type Q20667921
[ANSWER] is the birthplace of that person
['Q23773302', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q717764 property:P19 ?h . ?h rdf:type ontology:Q20667921 }
Annemasse
Annemasse is the birthplace of that person
Annemasse
action filter_type
action find
entity Jean-Marc Gaillard
relation place of birth
type type of french administrative division
['Gaillard', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Jean-Marc_Gaillard property:place_of_birth ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1192868
P180
Q82799 Q838948 Q1792379
USER
Which names are expressed in less number of works of art and art genres than clam ?
(c(Q838948)|c(Q1792379),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q1192868
relation P180
type Q838948
type Q1792379
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?f ) WHERE { { ?q property:P180 ?h . ?q rdf:type ontology:Q838948 . ?h rdf:type ontology:Q82799 } UNION { ?q property:P180 ?h . ?h rdf:type ontology:Q82799 . ?q rdf:type ontology:Q1792379 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:P180 resource:Q1192868 . { { ?m rdf:type ontology:Q838948 } UNION { ?m rdf:type ontology:Q1792379 } } } } . FILTER ( ?f < ?j ) }
clam
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action count
action filter_multi_types
action find_reverse
entity clam
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?f ) WHERE { { ?q property:depicts ?h . ?q rdf:type ontology:work_of_art . ?h rdf:type ontology:name } UNION { ?q property:depicts ?h . ?h rdf:type ontology:name . ?q rdf:type ontology:art_genre } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:depicts resource:clam . { { ?m rdf:type ontology:work_of_art } UNION { ?m rdf:type ontology:art_genre } } } } . FILTER ( ?f < ?j ) }
[]
name work of art art genre
Q1807269 Q876933 Q134609
SYSTEM
leek, magi, Cynara scolymus
Q134609 Q6453151 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q1807269 Q8335 Q3116510 Q1865281 Q2495957 Q1953597 Q1466321 Q43115 Q858243 Q876933 Q214169 Q538906 Q1360763 Q83931 Q9458574 Q5070208 Q859257 Q10968813
(c(Q838948)|c(Q1792379),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q1192868
relation P180
type Q838948
type Q1792379
[ANSWERS] are expressed in less number of works of art and art genres than clam
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?f ) WHERE { { ?q property:P180 ?h . ?q rdf:type ontology:Q838948 . ?h rdf:type ontology:Q82799 } UNION { ?q property:P180 ?h . ?h rdf:type ontology:Q82799 . ?q rdf:type ontology:Q1792379 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:P180 resource:Q1192868 . { { ?m rdf:type ontology:Q838948 } UNION { ?m rdf:type ontology:Q1792379 } } } } . FILTER ( ?f < ?j ) }
Cynara scolymus toad mule wolf Partridge sugarcane shrimp butterfly trout cattle goose Boy leek raven frog whale magpie slug Yellow jacket saint Tree squirrel magi pheasant thistle Scipio locust wasp kangaroo fly jay
Leek, magi and Cynara scolymus are expressed in less number of works of art and art genres than clam
leek magi Cynara scolymus
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action count
action filter_multi_types
action find_reverse
entity clam
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?f ) WHERE { { ?q property:depicts ?h . ?q rdf:type ontology:work_of_art . ?h rdf:type ontology:name } UNION { ?q property:depicts ?h . ?h rdf:type ontology:name . ?q rdf:type ontology:art_genre } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { ?m property:depicts resource:clam . { { ?m rdf:type ontology:work_of_art } UNION { ?m rdf:type ontology:art_genre } } } } . FILTER ( ?f < ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q13219075
P180
Q82799 Q838948 Q1792379
USER
And what about octopus?
(c(Q838948)|c(Q1792379),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q13219075
relation P180
type Q838948
type Q1792379
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?m ) WHERE { { ?g rdf:type ontology:Q82799 . ?t rdf:type ontology:Q838948 . ?t property:P180 ?g } UNION { ?t property:P180 ?g . ?t rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q82799 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:P180 resource:Q13219075 . { VALUES ( ?d ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } . ?q rdf:type ?d } } } . FILTER ( ?m < ?o ) }
octopus
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action count
action filter_multi_types
action find_reverse
entity octopus
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?m ) WHERE { { ?g rdf:type ontology:name . ?t rdf:type ontology:work_of_art . ?t property:depicts ?g } UNION { ?t property:depicts ?g . ?t rdf:type ontology:art_genre . ?g rdf:type ontology:name } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:depicts resource:octopus . { VALUES ( ?d ) { ( ontology:work_of_art ) ( ontology:art_genre ) } . ?q rdf:type ?d } } } . FILTER ( ?m < ?o ) }
[]
name work of art art genre
Q1807269 Q876933 Q134609
SYSTEM
leek, magi, Cynara scolymus
Q134609 Q6453151 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q1807269 Q8335 Q3116510 Q1865281 Q2495957 Q1953597 Q1466321 Q43115 Q858243 Q876933 Q214169 Q538906 Q1360763 Q83931 Q9458574 Q5070208 Q859257 Q10968813
(c(Q838948)|c(Q1792379),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action count
action filter_multi_types
action find_reverse
entity Q13219075
relation P180
type Q838948
type Q1792379
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?m ) WHERE { { ?g rdf:type ontology:Q82799 . ?t rdf:type ontology:Q838948 . ?t property:P180 ?g } UNION { ?t property:P180 ?g . ?t rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q82799 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:P180 resource:Q13219075 . { VALUES ( ?d ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } . ?q rdf:type ?d } } } . FILTER ( ?m < ?o ) }
Cynara scolymus toad mule wolf Partridge sugarcane shrimp butterfly trout cattle goose Boy leek raven frog whale magpie slug Yellow jacket saint Tree squirrel magi pheasant thistle Scipio locust wasp kangaroo fly jay
leek magi Cynara scolymus
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action count
action filter_multi_types
action find_reverse
entity octopus
relation depicts
type work of art
type art genre
[[{'concept': 'work of art'}, {'concept': 'art genre'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?m ) WHERE { { ?g rdf:type ontology:name . ?t rdf:type ontology:work_of_art . ?t property:depicts ?g } UNION { ?t property:depicts ?g . ?t rdf:type ontology:art_genre . ?g rdf:type ontology:name } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:depicts resource:octopus . { VALUES ( ?d ) { ( ontology:work_of_art ) ( ontology:art_genre ) } . ?q rdf:type ?d } } } . FILTER ( ?m < ?o ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are atleast 3 names in ?
(c(Q82799),P407,c(Q34770))
action count
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 3
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { FILTER ( ?x >= 3 ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?x ) WHERE { ?z rdf:type ontology:Q34770 . ?n rdf:type ontology:Q82799 . ?n property:P407 ?z } GROUP BY ?z } }
action count
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 3
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { FILTER ( ?x >= 3 ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?x ) WHERE { ?z rdf:type ontology:language . ?n rdf:type ontology:name . ?n property:language_of_work_or_name ?z } GROUP BY ?z } }
[]
language name
SYSTEM
6
Q1860 Q1321 Q397 Q9056 Q8752 Q652
(c(Q82799),P407,c(Q34770))
action count
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 3
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { FILTER ( ?x >= 3 ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?x ) WHERE { ?z rdf:type ontology:Q34770 . ?n rdf:type ontology:Q82799 . ?n property:P407 ?z } GROUP BY ?z } }
English Spanish Latin Czech Basque Italian
6
action count
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 3
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { FILTER ( ?x >= 3 ) . { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?x ) WHERE { ?z rdf:type ontology:language . ?n rdf:type ontology:name . ?n property:language_of_work_or_name ?z } GROUP BY ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212901
P1376
Q20667921
USER
Which french administrative divisions have Annemasse have their first city ?
(Q212901,P1376,c(Q20667921))
action filter_type
action find
entity Q212901
relation P1376
type Q20667921
['Q212901', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q212901 property:P1376 ?f . ?f rdf:type ontology:Q20667921 }
Annemasse
action filter_type
action find
entity Annemasse
relation capital of
type type of french administrative division
['Annemasse', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Annemasse property:capital_of ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1724167 Q1605743
SYSTEM
Canton of Annemasse-Sud, Canton of Annemasse-Nord
Q1724167 Q1605743
(Q212901,P1376,c(Q20667921))
action filter_type
action find
entity Q212901
relation P1376
type Q20667921
[ANSWERS] have Annemasse have their first city
['Q212901', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q212901 property:P1376 ?f . ?f rdf:type ontology:Q20667921 }
Canton of Annemasse-Sud Canton of Annemasse-Nord
Canton of Annemasse-Sud and Canton of Annemasse-Nord have Annemasse have their first city
Canton of Annemasse-Sud Canton of Annemasse-Nord
action filter_type
action find
entity Annemasse
relation capital of
type type of french administrative division
['Annemasse', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Annemasse property:capital_of ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212901
P47
Q20667921
USER
Which french administrative divisions share border with Annemasse ?
(Q212901,P47,c(Q20667921))
action filter_type
action find
entity Q212901
relation P47
type Q20667921
['Q212901', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q212901 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Annemasse
action filter_type
action find
entity Annemasse
relation shares border with
type type of french administrative division
['Annemasse', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Annemasse property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q580525 Q290880 Q659153
SYSTEM
Cranves-Sales, Étrembières, Vétraz-Monthoux
Q290880 Q333093 Q659153 Q829407 Q829285 Q580525
(Q212901,P47,c(Q20667921))
action filter_type
action find
entity Q212901
relation P47
type Q20667921
[ANSWERS] share border with Annemasse
['Q212901', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q212901 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Étrembières Ambilly Vétraz-Monthoux Gaillard Ville-la-Grand Cranves-Sales
Cranves-Sales, Étrembières and Vétraz-Monthoux share border with Annemasse
Cranves-Sales Étrembières Vétraz-Monthoux
action filter_type
action find
entity Annemasse
relation shares border with
type type of french administrative division
['Annemasse', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Annemasse property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1807269
P566
Q16521
USER
Which taxon is a basionym of leek ?
(Q1807269,P566,c(Q16521))
action filter_type
action find
entity Q1807269
relation P566
type Q16521
['Q1807269', 'P566', {'concept': 'Q16521'}]
SELECT DISTINCT ?p WHERE { resource:Q1807269 property:P566 ?p . ?p rdf:type ontology:Q16521 }
leek
action filter_type
action find
entity leek
relation basionym
type taxon
['leek', 'basionym', {'concept': 'taxon'}]
SELECT DISTINCT ?p WHERE { resource:leek property:basionym ?p . ?p rdf:type ontology:taxon }
[]
taxon
Q21870138
SYSTEM
Allium porrum
Q21870138
(Q1807269,P566,c(Q16521))
action filter_type
action find
entity Q1807269
relation P566
type Q16521
[ANSWER] is a basionym of leek
['Q1807269', 'P566', {'concept': 'Q16521'}]
SELECT DISTINCT ?p WHERE { resource:Q1807269 property:P566 ?p . ?p rdf:type ontology:Q16521 }
Allium porrum
Allium porrum is a basionym of leek
Allium porrum
action filter_type
action find
entity leek
relation basionym
type taxon
['leek', 'basionym', {'concept': 'taxon'}]
SELECT DISTINCT ?p WHERE { resource:leek property:basionym ?p . ?p rdf:type ontology:taxon }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10937860
Q16521
USER
And what about Acomastylis macrosepala?
(Q10937860,P566,c(Q16521))
action filter_type
action find
entity Q10937860
relation P566
type Q16521
['Q10937860', 'P566', {'concept': 'Q16521'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q16521 . resource:Q10937860 property:P566 ?d }
Acomastylis macrosepala
action filter_type
action find
entity Acomastylis macrosepala
relation basionym
type taxon
['Acomastylis macrosepala', 'basionym', {'concept': 'taxon'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:taxon . resource:Acomastylis_macrosepala property:basionym ?d }
[]
taxon
Q17243761
SYSTEM
Geum macrosepalum
Q17243761
(Q10937860,P566,c(Q16521))
action filter_type
action find
entity Q10937860
relation P566
type Q16521
[ANSWER]
['Q10937860', 'P566', {'concept': 'Q16521'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q16521 . resource:Q10937860 property:P566 ?d }
Geum macrosepalum
Geum macrosepalum
action filter_type
action find
entity Acomastylis macrosepala
relation basionym
type taxon
['Acomastylis macrosepala', 'basionym', {'concept': 'taxon'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:taxon . resource:Acomastylis_macrosepala property:basionym ?d }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1459167 Q659153
P27 P17
Q15617994
USER
Which administrative territories are Vétraz-Monthoux present in or are the native countriesof Eduardo Jiguchi ?
OR((Q659153,P17,c(Q15617994)), (Q1459167,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q659153
relation P17
action find
entity Q1459167
relation P27
type Q15617994
{'OR': [['Q659153', 'P17', {'concept': 'Q15617994'}], ['Q1459167', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q659153 property:P17 ?t } UNION { resource:Q1459167 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
Eduardo Jiguchi Vétraz-Monthoux
action filter_type
action union
action find
entity Vétraz-Monthoux
relation country
action find
entity Eduardo Jiguchi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Vétraz-Monthoux', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Eduardo Jiguchi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Vétraz-Monthoux property:country ?t } UNION { resource:Eduardo_Jiguchi property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q750
SYSTEM
France, Bolivia
Q142 Q750
OR((Q659153,P17,c(Q15617994)), (Q1459167,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q659153
relation P17
action find
entity Q1459167
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q659153', 'P17', {'concept': 'Q15617994'}], ['Q1459167', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q659153 property:P17 ?t } UNION { resource:Q1459167 property:P27 ?t } } . ?t rdf:type ontology:Q15617994 }
France Bolivia
Which administrative territories are Vétraz-Monthoux present in or are the native countriesof Eduardo Jiguchi
France Bolivia
action filter_type
action union
action find
entity Vétraz-Monthoux
relation country
action find
entity Eduardo Jiguchi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Vétraz-Monthoux', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Eduardo Jiguchi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Vétraz-Monthoux property:country ?t } UNION { resource:Eduardo_Jiguchi property:country_of_citizenship ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q750
P37
Q5962346
USER
Which classification scheme is the official language of that administrative territory ?
(Q750,P37,c(Q5962346))
action filter_type
action find
entity Q750
relation P37
type Q5962346
['Q750', 'P37', {'concept': 'Q5962346'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q5962346 . resource:Q750 property:P37 ?k }
Bolivia
action filter_type
action find
entity Bolivia
relation official language
type classification scheme
['Bolivia', 'official language', {'concept': 'classification scheme'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:classification_scheme . resource:Bolivia property:official_language ?k }
[]
classification scheme
Clarification for simple ques.
Q750
SYSTEM
Did you mean Bolivia ?
Q142 Q750
(Q142,P37,c(Q5962346)) (Q750,P37,c(Q5962346))
[ANSWER]
['Q142', 'P37', {'concept': 'Q5962346'}] ['Q750', 'P37', {'concept': 'Q5962346'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q5962346 . resource:Q750 property:P37 ?k }
France Bolivia
Did you mean Bolivia ?
Bolivia
['France', 'official language', {'concept': 'classification scheme'}] ['Bolivia', 'official language', {'concept': 'classification scheme'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:classification_scheme . resource:Bolivia property:official_language ?k }
[]
Simple Question (Coreferenced)
USER
Yes
(Q750,P37,c(Q5962346))
['Q750', 'P37', {'concept': 'Q5962346'}]
['Bolivia', 'official language', {'concept': 'classification scheme'}]
[]
Q5218
SYSTEM
Quichua languages
Q5218
(Q750,P37,c(Q5962346))
action filter_type
action find
entity Q750
relation P37
type Q5962346
[ANSWER] is the official language of that administrative territory
['Q750', 'P37', {'concept': 'Q5962346'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q5962346 . resource:Q750 property:P37 ?k }
Quichua languages
Quichua languages is the official language of that administrative territory
Quichua languages
action filter_type
action find
entity Bolivia
relation official language
type classification scheme
['Bolivia', 'official language', {'concept': 'classification scheme'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:classification_scheme . resource:Bolivia property:official_language ?k }
[]