Simple Question (Direct)
Simple Question
Q608012
P734
Q82799
USER
Who has the surname Antony Dupuis ?
(Q608012,P734,c(Q82799))
action filter_type
action find
entity Q608012
relation P734
type Q82799
['Q608012', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q608012 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Antony Dupuis
action filter_type
action find
entity Antony Dupuis
relation family name
type name
['Antony Dupuis', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Antony_Dupuis property:family_name ?a . ?a rdf:type ontology:name }
[]
name
Q21507910
SYSTEM
Dupuis
Q21507910
(Q608012,P734,c(Q82799))
action filter_type
action find
entity Q608012
relation P734
type Q82799
[ANSWER] has the surname Antony [ANSWER]
['Q608012', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q608012 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Dupuis
Dupuis has the surname Antony Dupuis
Dupuis
action filter_type
action find
entity Antony Dupuis
relation family name
type name
['Antony Dupuis', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Antony_Dupuis property:family_name ?a . ?a rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q608012
P551
Q20667921
USER
What was the place of residence of Antony Dupuis ?
(Q608012,P551,c(Q20667921))
action filter_type
action find
entity Q608012
relation P551
type Q20667921
['Q608012', 'P551', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q608012 property:P551 ?t . ?t rdf:type ontology:Q20667921 }
Antony Dupuis
action filter_type
action find
entity Antony Dupuis
relation residence
type type of french administrative division
['Antony Dupuis', 'residence', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Antony_Dupuis property:residence ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q269468
SYSTEM
Villeneuve-le-Comte
Q269468
(Q608012,P551,c(Q20667921))
action filter_type
action find
entity Q608012
relation P551
type Q20667921
The place of residence of Antony Dupuis was in [ANSWER]
['Q608012', 'P551', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q608012 property:P551 ?t . ?t rdf:type ontology:Q20667921 }
Villeneuve-le-Comte
The place of residence of Antony Dupuis was in Villeneuve-le-Comte
Villeneuve-le-Comte
action filter_type
action find
entity Antony Dupuis
relation residence
type type of french administrative division
['Antony Dupuis', 'residence', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Antony_Dupuis property:residence ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5273426
Q20667921
USER
And also tell me about Dick Strawbridge?
(Q5273426,P551,c(Q20667921))
action filter_type
action find
entity Q5273426
relation P551
type Q20667921
['Q5273426', 'P551', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q20667921 . resource:Q5273426 property:P551 ?i }
Dick Strawbridge
action filter_type
action find
entity Dick Strawbridge
relation residence
type type of french administrative division
['Dick Strawbridge', 'residence', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_french_administrative_division . resource:Dick_Strawbridge property:residence ?i }
[]
type of french administrative division
Q16994
SYSTEM
Pays de la Loire
Q16994
(Q5273426,P551,c(Q20667921))
action filter_type
action find
entity Q5273426
relation P551
type Q20667921
[ANSWER]
['Q5273426', 'P551', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q20667921 . resource:Q5273426 property:P551 ?i }
Pays de la Loire
Pays de la Loire
action filter_type
action find
entity Dick Strawbridge
relation residence
type type of french administrative division
['Dick Strawbridge', 'residence', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_french_administrative_division . resource:Dick_Strawbridge property:residence ?i }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q16994 Q13947
P47
Q20667921
USER
Is Centre-Val de Loire bordered by that one ?
(Q16994,P47,Q13947)
action is_in
entity Q13947
action find
entity Q16994
relation P47
['Q16994', 'P47', 'Q13947']
ASK WHERE { resource:Q16994 property:P47 resource:Q13947 }
Pays de la Loire Centre-Val de Loire
action is_in
entity Centre-Val de Loire
action find
entity Pays de la Loire
relation shares border with
['Pays de la Loire', 'shares border with', 'Centre-Val de Loire']
ASK WHERE { resource:Pays_de_la_Loire property:shares_border_with resource:Centre-Val_de_Loire }
[]
type of french administrative division
SYSTEM
YES
(Q16994,P47,Q13947)
action is_in
entity Q13947
action find
entity Q16994
relation P47
[ANSWER]
['Q16994', 'P47', 'Q13947']
ASK WHERE { resource:Q16994 property:P47 resource:Q13947 }
Yes
action is_in
entity Centre-Val de Loire
action find
entity Pays de la Loire
relation shares border with
['Pays de la Loire', 'shares border with', 'Centre-Val de Loire']
ASK WHERE { resource:Pays_de_la_Loire property:shares_border_with resource:Centre-Val_de_Loire }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q269468
P47
Q20667921
USER
How many french administrative divisions share border with Villeneuve-le-Comte ?
(c(Q20667921),P47,Q269468)
action count
action filter_type
action find_reverse
entity Q269468
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q269468']
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P47 resource:Q269468 . ?x rdf:type ontology:Q20667921 }
Villeneuve-le-Comte
action count
action filter_type
action find_reverse
entity Villeneuve-le-Comte
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Villeneuve-le-Comte']
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:shares_border_with resource:Villeneuve-le-Comte . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
8
Q1455948 Q1459717 Q580928 Q250620 Q1459039 Q271992 Q784139 Q271947
(c(Q20667921),P47,Q269468)
action count
action filter_type
action find_reverse
entity Q269468
relation P47
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q269468']
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P47 resource:Q269468 . ?x rdf:type ontology:Q20667921 }
Villeneuve-Saint-Denis Neufmoutiers-en-Brie Mortcerf Bailly-Romainvilliers Voulangis Coutevroult Dammartin-sur-Tigeaux Villiers-sur-Morin
8
action count
action filter_type
action find_reverse
entity Villeneuve-le-Comte
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Villeneuve-le-Comte']
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:shares_border_with resource:Villeneuve-le-Comte . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q608012 Q142
P27
Q15617994
USER
Is Antony Dupuis an inhabitant of France ?
(Q608012,P27,Q142)
action is_in
entity Q142
action find
entity Q608012
relation P27
['Q608012', 'P27', 'Q142']
ASK WHERE { resource:Q608012 property:P27 resource:Q142 }
Antony Dupuis France
action is_in
entity France
action find
entity Antony Dupuis
relation country of citizenship
['Antony Dupuis', 'country of citizenship', 'France']
ASK WHERE { resource:Antony_Dupuis property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q608012,P27,Q142)
action is_in
entity Q142
action find
entity Q608012
relation P27
[ANSWER]
['Q608012', 'P27', 'Q142']
ASK WHERE { resource:Q608012 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Antony Dupuis
relation country of citizenship
['Antony Dupuis', 'country of citizenship', 'France']
ASK WHERE { resource:Antony_Dupuis property:country_of_citizenship resource:France }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16994
P1376
Q56061
USER
Which administrative territory is the county seat for Pays de la Loire ?
(c(Q56061),P1376,Q16994)
action filter_type
action find_reverse
entity Q16994
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q16994']
SELECT DISTINCT ?m WHERE { ?m property:P1376 resource:Q16994 . ?m rdf:type ontology:Q56061 }
Pays de la Loire
action filter_type
action find_reverse
entity Pays de la Loire
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Pays de la Loire']
SELECT DISTINCT ?m WHERE { ?m property:capital_of resource:Pays_de_la_Loire . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12191
SYSTEM
Nantes
Q12191
(c(Q56061),P1376,Q16994)
action filter_type
action find_reverse
entity Q16994
relation P1376
type Q56061
[ANSWER] is the county seat for Pays de la Loire
[{'concept': 'Q56061'}, 'P1376', 'Q16994']
SELECT DISTINCT ?m WHERE { ?m property:P1376 resource:Q16994 . ?m rdf:type ontology:Q56061 }
Nantes
Nantes is the county seat for Pays de la Loire
Nantes
action filter_type
action find_reverse
entity Pays de la Loire
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Pays de la Loire']
SELECT DISTINCT ?m WHERE { ?m property:capital_of resource:Pays_de_la_Loire . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16994
P361
Q15617994
USER
What is a component of that french administrative division ?
(c(Q15617994),P361,Q12191)
action filter_type
action find_reverse
entity Q16994
relation P361
type Q15617994
[{'concept': 'Q15617994'}, 'P361', 'Q12191']
SELECT DISTINCT ?h WHERE { ?h property:P361 resource:Q16994 . ?h rdf:type ontology:Q15617994 }
Pays de la Loire
action filter_type
action find_reverse
entity Pays de la Loire
relation part of
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'part of', 'Nantes']
SELECT DISTINCT ?h WHERE { ?h property:part_of resource:Pays_de_la_Loire . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q12584
SYSTEM
Maine-et-Loire
Q12584
(c(Q15617994),P361,Q12191)
action filter_type
action find_reverse
entity Q16994
relation P361
type Q15617994
A component of that french administrative division is [ANSWER]
[{'concept': 'Q15617994'}, 'P361', 'Q12191']
SELECT DISTINCT ?h WHERE { ?h property:P361 resource:Q16994 . ?h rdf:type ontology:Q15617994 }
Maine-et-Loire
A component of that french administrative division is Maine-et-Loire
Maine-et-Loire
action filter_type
action find_reverse
entity Pays de la Loire
relation part of
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'part of', 'Nantes']
SELECT DISTINCT ?h WHERE { ?h property:part_of resource:Pays_de_la_Loire . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q105800 Q608012
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Antony Dupuis or Philipp Jakob Siebenpfeiffer ?
OR((Q608012,P27,c(Q15617994)), (Q105800,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q608012
relation P27
action find
entity Q105800
relation P27
type Q15617994
{'OR': [['Q608012', 'P27', {'concept': 'Q15617994'}], ['Q105800', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q608012 property:P27 ?x } UNION { resource:Q105800 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Philipp Jakob Siebenpfeiffer Antony Dupuis
action filter_type
action union
action find
entity Antony Dupuis
relation country of citizenship
action find
entity Philipp Jakob Siebenpfeiffer
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Antony Dupuis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Philipp Jakob Siebenpfeiffer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Antony_Dupuis property:country_of_citizenship ?x } UNION { resource:Philipp_Jakob_Siebenpfeiffer property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q39
SYSTEM
France, Switzerland
Q142 Q39
OR((Q608012,P27,c(Q15617994)), (Q105800,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q608012
relation P27
action find
entity Q105800
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Antony Dupuis or Philipp Jakob Siebenpfeiffer
{'OR': [['Q608012', 'P27', {'concept': 'Q15617994'}], ['Q105800', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q608012 property:P27 ?x } UNION { resource:Q105800 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
France Switzerland
France and Switzerland are the countries of citizenship of Antony Dupuis or Philipp Jakob Siebenpfeiffer
France Switzerland
action filter_type
action union
action find
entity Antony Dupuis
relation country of citizenship
action find
entity Philipp Jakob Siebenpfeiffer
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Antony Dupuis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Philipp Jakob Siebenpfeiffer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Antony_Dupuis property:country_of_citizenship ?x } UNION { resource:Philipp_Jakob_Siebenpfeiffer property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q733
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with less number of administrative territories than Paraguay ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q733
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q733 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?t < ?g ) }
Paraguay
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Paraguay
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Paraguay property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t < ?g ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q733
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q733 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?t < ?g ) }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
64
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Paraguay
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Paraguay property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t < ?g ) }
[]