Simple Question (Direct)
Simple Question
Q3826687
P641
Q349
USER
Which sport was Fran Moreno a part of ?
(Q3826687,P641,c(Q349))
action filter_type
action find
entity Q3826687
relation P641
type Q349
['Q3826687', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q3826687 property:P641 ?f . ?f rdf:type ontology:Q349 }
Fran Moreno
action filter_type
action find
entity Fran Moreno
relation sport
type sport
['Fran Moreno', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Fran_Moreno property:sport ?f . ?f rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3826687,P641,c(Q349))
action filter_type
action find
entity Q3826687
relation P641
type Q349
Which sport was Fran Moreno a part of
['Q3826687', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q3826687 property:P641 ?f . ?f rdf:type ontology:Q349 }
association football
Which sport was Fran Moreno a part of
association football
action filter_type
action find
entity Fran Moreno
relation sport
type sport
['Fran Moreno', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Fran_Moreno property:sport ?f . ?f rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
What is the country of origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?s WHERE { resource:Q2736 property:P495 ?s . ?s rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:association_football property:country_of_origin ?s . ?s rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The country of origin of that sport is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?s WHERE { resource:Q2736 property:P495 ?s . ?s rdf:type ontology:Q1496967 }
England
The country of origin of that sport is in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:association_football property:country_of_origin ?s . ?s rdf:type ontology:territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1901472 Q3826687
P19 P27
Q15617994
USER
Which administrative territories do Fran Moreno belong to or were Markus Feldhoff born at ?
OR((Q3826687,P27,c(Q15617994)), (Q1901472,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q3826687
relation P27
action find
entity Q1901472
relation P19
type Q15617994
{'OR': [['Q3826687', 'P27', {'concept': 'Q15617994'}], ['Q1901472', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q3826687 property:P27 ?w } UNION { resource:Q1901472 property:P19 ?w } } }
Markus Feldhoff Fran Moreno
action filter_type
action union
action find
entity Fran Moreno
relation country of citizenship
action find
entity Markus Feldhoff
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Fran Moreno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Markus Feldhoff', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Fran_Moreno property:country_of_citizenship ?w } UNION { resource:Markus_Feldhoff property:place_of_birth ?w } } }
[]
designation for an administrative territorial entity
Q29 Q2838
SYSTEM
Spain, Oberhausen
Q29 Q2838
OR((Q3826687,P27,c(Q15617994)), (Q1901472,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q3826687
relation P27
action find
entity Q1901472
relation P19
type Q15617994
Fran Moreno belong to [ANSWERS]
{'OR': [['Q3826687', 'P27', {'concept': 'Q15617994'}], ['Q1901472', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q3826687 property:P27 ?w } UNION { resource:Q1901472 property:P19 ?w } } }
Spain Oberhausen
Fran Moreno belong to Spain and Oberhausen
Spain Oberhausen
action filter_type
action union
action find
entity Fran Moreno
relation country of citizenship
action find
entity Markus Feldhoff
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Fran Moreno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Markus Feldhoff', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Fran_Moreno property:country_of_citizenship ?w } UNION { resource:Markus_Feldhoff property:place_of_birth ?w } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with around 33 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 33
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?z = 33 ) . { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?z ) WHERE { ?s property:P530 ?f . ?s rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?s } }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 33
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?z = 33 ) . { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?z ) WHERE { ?s property:diplomatic_relation ?f . ?s rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 33
[ANSWERS] have a diplomatic relationship with around 33 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?z = 33 ) . { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?z ) WHERE { ?s property:P530 ?f . ?s rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?s } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have a diplomatic relationship with around 33 administrative territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 33
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?z = 33 ) . { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?z ) WHERE { ?s property:diplomatic_relation ?f . ?s rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P463
Q484652
USER
Which international organizations were Denmark a member of ?
(Q35,P463,c(Q484652))
action filter_type
action find
entity Q35
relation P463
type Q484652
['Q35', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?i WHERE { resource:Q35 property:P463 ?i . ?i rdf:type ontology:Q484652 }
Denmark
action filter_type
action find
entity Denmark
relation member of
type international organization
['Denmark', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?i WHERE { resource:Denmark property:member_of ?i . ?i rdf:type ontology:international_organization }
[]
international organization
Q81299 Q42262 Q1065
SYSTEM
Organization for Security and Co-operation in Europe, European Space Agency, United Nations
Q81299 Q789769 Q1065 Q188822 Q42262 Q674182 Q7184 Q146165 Q1043527
(Q35,P463,c(Q484652))
action filter_type
action find
entity Q35
relation P463
type Q484652
[ANSWERS]
['Q35', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?i WHERE { resource:Q35 property:P463 ?i . ?i rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe Council of the Baltic Sea States United Nations Asian Development Bank European Space Agency Arctic Council North Atlantic Treaty Organisation Nordic Council Multilateral Investment Guarantee Agency
Which international organizations were Denmark a member of
Organization for Security and Co-operation in Europe European Space Agency United Nations
action filter_type
action find
entity Denmark
relation member of
type international organization
['Denmark', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?i WHERE { resource:Denmark property:member_of ?i . ?i rdf:type ontology:international_organization }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q35
Q56061
USER
And which administrative territory?
(Q35,P463,c(Q56061))
action filter_type
action find
entity Q35
relation P463
type Q56061
['Q35', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q35 property:P463 ?k . ?k rdf:type ontology:Q56061 }
Denmark
action filter_type
action find
entity Denmark
relation member of
type administrative territorial entity
['Denmark', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Denmark property:member_of ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q35,P463,c(Q56061))
action filter_type
action find
entity Q35
relation P463
type Q56061
[ANSWER]
['Q35', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q35 property:P463 ?k . ?k rdf:type ontology:Q56061 }
European Union
European Union
action filter_type
action find
entity Denmark
relation member of
type administrative territorial entity
['Denmark', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Denmark property:member_of ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1065
P37
Q34770
USER
What are the official languages of United Nations ?
(Q1065,P37,c(Q34770))
action filter_type
action find
entity Q1065
relation P37
type Q34770
['Q1065', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q1065 property:P37 ?e . ?e rdf:type ontology:Q34770 }
United Nations
action filter_type
action find
entity United Nations
relation official language
type language
['United Nations', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:United_Nations property:official_language ?e . ?e rdf:type ontology:language }
[]
language
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
(Q1065,P37,c(Q34770))
action filter_type
action find
entity Q1065
relation P37
type Q34770
The official languages of United Nations are [ANSWERS]
['Q1065', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q1065 property:P37 ?e . ?e rdf:type ontology:Q34770 }
English Spanish
The official languages of United Nations are English and Spanish
English Spanish
action filter_type
action find
entity United Nations
relation official language
type language
['United Nations', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:United_Nations property:official_language ?e . ?e rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q42262
P21 P108
Q502895
USER
Which people works for European Space Agency and are a male ?
AND((c(Q502895),P108,Q42262), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q42262
relation P108
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q42262'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q property:P108 resource:Q42262 . ?q property:P21 resource:Q6581097 . ?q rdf:type ontology:Q502895 }
male European Space Agency
action filter_type
action intersection
action find_reverse
entity European Space Agency
relation employer
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'employer', 'European Space Agency'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q property:employer resource:European_Space_Agency . ?q property:gender resource:male . ?q rdf:type ontology:common_name }
[]
common name
Q116962 Q2795317 Q23706029 Q518012 Q352069 Q3438615 Q956842 Q166616 Q1394857 Q727572
SYSTEM
Some of them are Claude Nicollier, Wim Jansen, Pierre-Yves Bely, Timothy Peake, Léopold Eyharts, Roger-Maurice Bonnet, Maurizio Cheli, Thomas Reiter, Luca Parmitano, Umberto Guidoni
Q3438615 Q166616 Q352069 Q2795317 Q57229 Q727572 Q116962 Q23706029 Q956842 Q518012 Q1394857
AND((c(Q502895),P108,Q42262), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q42262
relation P108
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] work for European Space Agency and are a male
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q42262'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q property:P108 resource:Q42262 . ?q property:P21 resource:Q6581097 . ?q rdf:type ontology:Q502895 }
Roger-Maurice Bonnet Thomas Reiter Léopold Eyharts Wim Jansen Sigmund Jähn Umberto Guidoni Claude Nicollier Pierre-Yves Bely Maurizio Cheli Timothy Peake Luca Parmitano
Claude Nicollier, Wim Jansen, Pierre-Yves Bely, Timothy Peake, Léopold Eyharts, Roger-Maurice Bonnet, Maurizio Cheli, Thomas Reiter, Luca Parmitano and Umberto Guidoni work for European Space Agency and are a male
Claude Nicollier Wim Jansen Pierre-Yves Bely Timothy Peake Léopold Eyharts Roger-Maurice Bonnet Maurizio Cheli Thomas Reiter Luca Parmitano Umberto Guidoni
action filter_type
action intersection
action find_reverse
entity European Space Agency
relation employer
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'employer', 'European Space Agency'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q property:employer resource:European_Space_Agency . ?q property:gender resource:male . ?q rdf:type ontology:common_name }
[]