Simple Question (Direct)
Simple Question
Q5216507
P641
Q349
USER
Which sport did Daniel Baston participate in ?
(Q5216507,P641,c(Q349))
action filter_type
action find
entity Q5216507
relation P641
type Q349
['Q5216507', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q5216507 property:P641 ?g . ?g rdf:type ontology:Q349 }
Daniel Baston
action filter_type
action find
entity Daniel Baston
relation sport
type sport
['Daniel Baston', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Daniel_Baston property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5216507,P641,c(Q349))
action filter_type
action find
entity Q5216507
relation P641
type Q349
Daniel Baston participated in [ANSWER]
['Q5216507', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q5216507 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
Daniel Baston participated in association football
association football
action filter_type
action find
entity Daniel Baston
relation sport
type sport
['Daniel Baston', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Daniel_Baston property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5216507
P27
Q15617994
USER
Which administrative territory is Daniel Baston an inhabitant of ?
(Q5216507,P27,c(Q15617994))
action filter_type
action find
entity Q5216507
relation P27
type Q15617994
['Q5216507', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5216507 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Daniel Baston
action filter_type
action find
entity Daniel Baston
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Baston', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Daniel_Baston property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q5216507,P27,c(Q15617994))
action filter_type
action find
entity Q5216507
relation P27
type Q15617994
[ANSWER] is Daniel Baston an inhabitant of
['Q5216507', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5216507 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Romania
Romania is Daniel Baston an inhabitant of
Romania
action filter_type
action find
entity Daniel Baston
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Baston', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Daniel_Baston property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q691335
Q15617994
USER
And what about Arnaud Desplechin?
(Q691335,P27,c(Q15617994))
action filter_type
action find
entity Q691335
relation P27
type Q15617994
['Q691335', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q691335 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Arnaud Desplechin
action filter_type
action find
entity Arnaud Desplechin
relation country of citizenship
type designation for an administrative territorial entity
['Arnaud Desplechin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Arnaud_Desplechin property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q691335,P27,c(Q15617994))
action filter_type
action find
entity Q691335
relation P27
type Q15617994
[ANSWER]
['Q691335', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q691335 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity Arnaud Desplechin
relation country of citizenship
type designation for an administrative territorial entity
['Arnaud Desplechin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Arnaud_Desplechin property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q20667921 Q515 Q15617994
USER
How many administrative territories contain approximately 2 french administrative divisions and cities as their capital ?
(c(Q15617994),P36,c(Q20667921)|c(Q515))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q515
value 2
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?a WHERE { { ?a property:P36 ?x . ?a rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q20667921 } UNION { ?a property:P36 ?x . ?a rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q515 } } GROUP BY ?a } . FILTER ( ?p = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?a WHERE { { ?a property:capital ?x . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:type_of_french_administrative_division } UNION { ?a property:capital ?x . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:city } } GROUP BY ?a } . FILTER ( ?p = 2 ) }
[]
type of french administrative division city designation for an administrative territorial entity
SYSTEM
9
Q2998020 Q252 Q3259 Q12798 Q12730 Q3278 Q12772 Q3240 Q3164
(c(Q15617994),P36,c(Q20667921)|c(Q515))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q515
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?a WHERE { { ?a property:P36 ?x . ?a rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q20667921 } UNION { ?a property:P36 ?x . ?a rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q515 } } GROUP BY ?a } . FILTER ( ?p = 2 ) }
Corse Indonesia Cantal Vendée Haute-Saône Charente-Maritime Tarn Bouches-du-Rhône Ardennes
9
action count
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?a WHERE { { ?a property:capital ?x . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:type_of_french_administrative_division } UNION { ?a property:capital ?x . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:city } } GROUP BY ?a } . FILTER ( ?p = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q218 Q408
P530
Q15617994
USER
How many administrative territories have a diplomatic relationship with Romania and Australia ?
(Q218,P530,c(Q15617994)) (Q408,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q218
relation P530
type Q15617994
action filter_type
action find
entity Q408
relation P530
type Q15617994
['Q218', 'P530', {'concept': 'Q15617994'}] ['Q408', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Q218 property:P530 ?m . ?m rdf:type ontology:Q15617994 . resource:Q408 property:P530 ?m . ?m rdf:type ontology:Q15617994 }
Romania Australia
action count
action intersection
action filter_type
action find
entity Romania
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
['Romania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Romania property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Australia property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
Q148 Q38 Q881
(Q218,P530,c(Q15617994)) (Q408,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q218
relation P530
type Q15617994
action filter_type
action find
entity Q408
relation P530
type Q15617994
[ANSWER]
['Q218', 'P530', {'concept': 'Q15617994'}] ['Q408', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Q218 property:P530 ?m . ?m rdf:type ontology:Q15617994 . resource:Q408 property:P530 ?m . ?m rdf:type ontology:Q15617994 }
People's Republic of China Italy Vietnam
3
action count
action intersection
action filter_type
action find
entity Romania
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
['Romania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Romania property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Australia property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218
P159
Q874405
USER
Which social groups have the principal seat at that administrative territory ?
action filter_type
action find_reverse
entity Q218
relation P159
type Q874405
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q218 . ?v rdf:type ontology:Q874405 }
Romania
action filter_type
action find_reverse
entity Romania
relation headquarters location
type social group
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:Romania . ?v rdf:type ontology:social_group }
[]
social group
Q6509096 Q16211549
SYSTEM
League of Romanian Students Abroad, Reaching Out Romania
Q6509096 Q16211549
action filter_type
action find_reverse
entity Q218
relation P159
type Q874405
League of Romanian Students Abroad and reaching Out Romania have the principal seat at that administrative territory
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q218 . ?v rdf:type ontology:Q874405 }
League of Romanian Students Abroad Reaching Out Romania
League of Romanian Students Abroad and reaching Out Romania have the principal seat at that administrative territory
League of Romanian Students Abroad Reaching Out Romania
action filter_type
action find_reverse
entity Romania
relation headquarters location
type social group
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:Romania . ?v rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218
P30
Q2221906
USER
Where is that administrative territory situated ?
(Q6509096,P30,c(Q2221906)) (Q16211549,P30,c(Q2221906))
action filter_type
action find
entity Q218
relation P30
type Q2221906
['Q6509096', 'P30', {'concept': 'Q2221906'}] ['Q16211549', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { resource:Q218 property:P30 ?z . ?z rdf:type ontology:Q2221906 }
Romania
action filter_type
action find
entity Romania
relation continent
type geographic location
['League of Romanian Students Abroad', 'continent', {'concept': 'geographic location'}] ['Reaching Out Romania', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { resource:Romania property:continent ?z . ?z rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q6509096,P30,c(Q2221906)) (Q16211549,P30,c(Q2221906))
action filter_type
action find
entity Q218
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q6509096', 'P30', {'concept': 'Q2221906'}] ['Q16211549', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { resource:Q218 property:P30 ?z . ?z rdf:type ontology:Q2221906 }
Europe
That administrative territory is situated in Europe
Europe
action filter_type
action find
entity Romania
relation continent
type geographic location
['League of Romanian Students Abroad', 'continent', {'concept': 'geographic location'}] ['Reaching Out Romania', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { resource:Romania property:continent ?z . ?z rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218
P276
Q1190554
USER
What are situated at Romania ?
(c(Q1190554),P276,Q218)
action filter_type
action find_reverse
entity Q218
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q218']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q218 . ?l rdf:type ontology:Q1190554 }
Romania
action filter_type
action find_reverse
entity Romania
relation location
type event
[{'concept': 'event'}, 'location', 'Romania']
SELECT DISTINCT ?l WHERE { ?l property:location resource:Romania . ?l rdf:type ontology:event }
[]
event
Q4859251 Q789406 Q4870887
SYSTEM
Battle of Romania, Balkans Campaign, Battle of Doljești and Orbic
Q4859251 Q789406 Q4870887
(c(Q1190554),P276,Q218)
action filter_type
action find_reverse
entity Q218
relation P276
type Q1190554
[ANSWERS] are situated at Romania
[{'concept': 'Q1190554'}, 'P276', 'Q218']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q218 . ?l rdf:type ontology:Q1190554 }
Battle of Romania Balkans Campaign Battle of Doljești and Orbic
Battle of Romania, Balkans Campaign and Battle of Doljești and Orbic are situated at Romania
Battle of Romania Balkans Campaign Battle of Doljești and Orbic
action filter_type
action find_reverse
entity Romania
relation location
type event
[{'concept': 'event'}, 'location', 'Romania']
SELECT DISTINCT ?l WHERE { ?l property:location resource:Romania . ?l rdf:type ontology:event }
[]