Simple Question (Direct)
Simple Question
Q239984
P641
Q31629
USER
What was the type of sport that Stacy Dragila was a part of ?
(Q239984,P641,c(Q31629))
action filter_type
action find
entity Q239984
relation P641
type Q31629
['Q239984', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?e WHERE { resource:Q239984 property:P641 ?e . ?e rdf:type ontology:Q31629 }
Stacy Dragila
action filter_type
action find
entity Stacy Dragila
relation sport
type type of sport
['Stacy Dragila', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?e WHERE { resource:Stacy_Dragila property:sport ?e . ?e rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q239984,P641,c(Q31629))
action filter_type
action find
entity Q239984
relation P641
type Q31629
The type of sport that Stacy Dragila was a part of was h [ANSWER]
['Q239984', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?e WHERE { resource:Q239984 property:P641 ?e . ?e rdf:type ontology:Q31629 }
athletics
The type of sport that Stacy Dragila was a part of was h athletics
athletics
action filter_type
action find
entity Stacy Dragila
relation sport
type type of sport
['Stacy Dragila', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?e WHERE { resource:Stacy_Dragila property:sport ?e . ?e rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q239984
P19
Q56061
USER
Which administrative territory was Stacy Dragila born in ?
(Q239984,P19,c(Q56061))
action filter_type
action find
entity Q239984
relation P19
type Q56061
['Q239984', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q239984 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Stacy Dragila
action filter_type
action find
entity Stacy Dragila
relation place of birth
type administrative territorial entity
['Stacy Dragila', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Stacy_Dragila property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q758542
SYSTEM
Auburn
Q758542
(Q239984,P19,c(Q56061))
action filter_type
action find
entity Q239984
relation P19
type Q56061
Stacy Dragila was born in [ANSWER]
['Q239984', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q239984 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Auburn
Stacy Dragila was born in Auburn
Auburn
action filter_type
action find
entity Stacy Dragila
relation place of birth
type administrative territorial entity
['Stacy Dragila', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Stacy_Dragila property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6968716
Q56061
USER
And how about Nate Self?
(Q6968716,P19,c(Q56061))
action filter_type
action find
entity Q6968716
relation P19
type Q56061
['Q6968716', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q6968716 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Nate Self
action filter_type
action find
entity Nate Self
relation place of birth
type administrative territorial entity
['Nate Self', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Nate_Self property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q128244
SYSTEM
Waco
Q128244
(Q6968716,P19,c(Q56061))
action filter_type
action find
entity Q6968716
relation P19
type Q56061
[ANSWER]
['Q6968716', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q6968716 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Waco
Waco
action filter_type
action find
entity Nate Self
relation place of birth
type administrative territorial entity
['Nate Self', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Nate_Self property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q128244 Q52231
P17
Q15617994
USER
Is that administrative territory a part of Comano, Tuscany ?
(Q128244,P17,Q52231)
action is_in
entity Q52231
action find
entity Q128244
relation P17
['Q128244', 'P17', 'Q52231']
ASK WHERE { resource:Q128244 property:P17 resource:Q52231 }
Waco Comano, Tuscany
action is_in
entity Comano, Tuscany
action find
entity Waco
relation country
['Waco', 'country', 'Comano, Tuscany']
ASK WHERE { resource:Waco property:country resource:Comano,_Tuscany }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q128244,P17,Q52231)
action is_in
entity Q52231
action find
entity Q128244
relation P17
[ANSWER]
['Q128244', 'P17', 'Q52231']
ASK WHERE { resource:Q128244 property:P17 resource:Q52231 }
No
action is_in
entity Comano, Tuscany
action find
entity Waco
relation country
['Waco', 'country', 'Comano, Tuscany']
ASK WHERE { resource:Waco property:country resource:Comano,_Tuscany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q239984 Q3367 Q30
P27
Q15617994
USER
Is Stacy Dragila a citizen of Aosta and United States of America ?
(Q239984,P27,Q3367) (Q239984,P27,Q30)
action is_in
entity Q239984
action intersection
action find_reverse
entity Q3367
relation P27
action find_reverse
entity Q30
relation P27
['Q239984', 'P27', 'Q3367'] ['Q239984', 'P27', 'Q30']
ASK WHERE { resource:Q239984 property:P27 resource:Q3367 . resource:Q239984 property:P27 resource:Q30 }
Stacy Dragila Aosta United States of America
action is_in
entity Stacy Dragila
action intersection
action find_reverse
entity Aosta
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Stacy Dragila', 'country of citizenship', 'Aosta'] ['Stacy Dragila', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Stacy_Dragila property:country_of_citizenship resource:Aosta . resource:Stacy_Dragila property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q239984,P27,Q3367) (Q239984,P27,Q30)
action is_in
entity Q239984
action intersection
action find_reverse
entity Q3367
relation P27
action find_reverse
entity Q30
relation P27
[ANSWER]
['Q239984', 'P27', 'Q3367'] ['Q239984', 'P27', 'Q30']
ASK WHERE { resource:Q239984 property:P27 resource:Q3367 . resource:Q239984 property:P27 resource:Q30 }
NO and YES respectively
action is_in
entity Stacy Dragila
action intersection
action find_reverse
entity Aosta
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Stacy Dragila', 'country of citizenship', 'Aosta'] ['Stacy Dragila', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Stacy_Dragila property:country_of_citizenship resource:Aosta . resource:Stacy_Dragila property:country_of_citizenship resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q239984
P106
Q151885
USER
Which concept is the profession of that person ?
action filter_type
action find
entity Q239984
relation P106
type Q151885
SELECT DISTINCT ?o WHERE { resource:Q239984 property:P106 ?o . ?o rdf:type ontology:Q151885 }
Stacy Dragila
action filter_type
action find
entity Stacy Dragila
relation occupation
type concept
SELECT DISTINCT ?o WHERE { resource:Stacy_Dragila property:occupation ?o . ?o rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
action filter_type
action find
entity Q239984
relation P106
type Q151885
Are [ANSWER] is the profession of that person
SELECT DISTINCT ?o WHERE { resource:Q239984 property:P106 ?o . ?o rdf:type ontology:Q151885 }
athletics competitor
Are athletics competitor is the profession of that person
athletics competitor
action filter_type
action find
entity Stacy Dragila
relation occupation
type concept
SELECT DISTINCT ?o WHERE { resource:Stacy_Dragila property:occupation ?o . ?o rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q239984
P21
Q290
USER
Which sex does Stacy Dragila belong to ?
(Q239984,P21,c(Q290))
action filter_type
action find
entity Q239984
relation P21
type Q290
['Q239984', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q239984 property:P21 ?w . ?w rdf:type ontology:Q290 }
Stacy Dragila
action filter_type
action find
entity Stacy Dragila
relation gender
type sex
['Stacy Dragila', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Stacy_Dragila property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q239984,P21,c(Q290))
action filter_type
action find
entity Q239984
relation P21
type Q290
Stacy Dragila belongs to [ANSWER]
['Q239984', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q239984 property:P21 ?w . ?w rdf:type ontology:Q290 }
female
Stacy Dragila belongs to female
female
action filter_type
action find
entity Stacy Dragila
relation gender
type sex
['Stacy Dragila', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Stacy_Dragila property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23661848
Q290
USER
And how about Balthazar-Jean Baron?
(Q23661848,P21,c(Q290))
action filter_type
action find
entity Q23661848
relation P21
type Q290
['Q23661848', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q23661848 property:P21 ?y . ?y rdf:type ontology:Q290 }
Balthazar-Jean Baron
action filter_type
action find
entity Balthazar-Jean Baron
relation gender
type sex
['Balthazar-Jean Baron', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Balthazar-Jean_Baron property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q23661848,P21,c(Q290))
action filter_type
action find
entity Q23661848
relation P21
type Q290
[ANSWER]
['Q23661848', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q23661848 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Balthazar-Jean Baron
relation gender
type sex
['Balthazar-Jean Baron', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Balthazar-Jean_Baron property:gender ?y . ?y rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7817297 Q239984
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Stacy Dragila and Tom Qualters ?
AND((Q239984,P27,c(Q15617994)), (Q7817297,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q239984
relation P27
action find
entity Q7817297
relation P27
type Q15617994
{'AND': [['Q239984', 'P27', {'concept': 'Q15617994'}], ['Q7817297', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q239984 property:P27 ?b . resource:Q7817297 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Tom Qualters Stacy Dragila
action filter_type
action intersection
action find
entity Stacy Dragila
relation country of citizenship
action find
entity Tom Qualters
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Stacy Dragila', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tom Qualters', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Stacy_Dragila property:country_of_citizenship ?b . resource:Tom_Qualters property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q239984,P27,c(Q15617994)), (Q7817297,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q239984
relation P27
action find
entity Q7817297
relation P27
type Q15617994
[ANSWER] is the countries of citizenship of Stacy Dragila and Tom Qualters
{'AND': [['Q239984', 'P27', {'concept': 'Q15617994'}], ['Q7817297', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q239984 property:P27 ?b . resource:Q7817297 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
United States of America is the countries of citizenship of Stacy Dragila and Tom Qualters
United States of America
action filter_type
action intersection
action find
entity Stacy Dragila
relation country of citizenship
action find
entity Tom Qualters
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Stacy Dragila', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tom Qualters', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Stacy_Dragila property:country_of_citizenship ?b . resource:Tom_Qualters property:country_of_citizenship ?b . ?b 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
P1444
Q14524493 Q1048835 Q31629
USER
How many types of sport end their journey at exactly 1 terrains or political territories ?
(c(Q31629),P1444,c(Q14524493)|c(Q1048835))
action count
action equal
action union
action find_tuple_counts
relation P1444
type Q31629
type Q14524493
action find_tuple_counts
relation P1444
type Q31629
type Q1048835
value 1
[{'concept': 'Q31629'}, 'P1444', [{'concept': 'Q14524493'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?c ) WHERE { VALUES ( ?l ) { ( ontology:Q1048835 ) ( ontology:Q14524493 ) } . ?u rdf:type ?l } GROUP BY ?y } . FILTER ( ?c = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation destination point
type type of sport
type terrain
action find_tuple_counts
relation destination point
type type of sport
type political territorial entity
value 1
[{'concept': 'type of sport'}, 'destination point', [{'concept': 'terrain'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?c ) WHERE { VALUES ( ?l ) { ( ontology:political_territorial_entity ) ( ontology:terrain ) } . ?u rdf:type ?l } GROUP BY ?y } . FILTER ( ?c = 1 ) }
[]
terrain political territorial entity type of sport
SYSTEM
39
Q23709834 Q20680826 Q21996963 Q22811877 Q21768448 Q26209139 Q22921514 Q22921515 Q22921513 Q22570169 Q26209094 Q23709814 Q20680830 Q23709788 Q21996979 Q21996977 Q21996974 Q21996973 Q21996971 Q20680820 Q22038844 Q22808745 Q22808744 Q23709829 Q21996985 Q21996983 Q21996988 Q21883991 Q22921507 Q22921508 Q26209147 Q22670410 Q21996964 Q21996969 Q20680812 Q20680811 Q20680810 Q23010376 Q20680816
(c(Q31629),P1444,c(Q14524493)|c(Q1048835))
action count
action equal
action union
action find_tuple_counts
relation P1444
type Q31629
type Q14524493
action find_tuple_counts
relation P1444
type Q31629
type Q1048835
value 1
[ANSWER]
[{'concept': 'Q31629'}, 'P1444', [{'concept': 'Q14524493'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?c ) WHERE { VALUES ( ?l ) { ( ontology:Q1048835 ) ( ontology:Q14524493 ) } . ?u rdf:type ?l } GROUP BY ?y } . FILTER ( ?c = 1 ) }
2016 Tour of the Basque Country, Stage 5 2015 Vuelta a España, Stage 18 2016 Vuelta a España, Stage 1 2016 Volta ao Algarve, Stage 2 2016 Paris–Nice, Stage 3 2016 Vuelta a Burgos, Stage 3 2016 Volta a Catalunya, Stage 6 2016 Volta a Catalunya, Stage 7 2016 Volta a Catalunya, Stage 5 2016 Volta a la Comunitat Valenciana, Stage 1 2016 Vuelta a Burgos, Stage 1 2016 Tour of the Basque Country, Stage 2 2015 Vuelta a España, Stage 20 2016 Tour of the Basque Country, Stage 1 2016 Vuelta a España, Stage 13 2016 Vuelta a España, Stage 11 2016 Vuelta a España, Stage 9 2016 Vuelta a España, Stage 8 2016 Vuelta a España, Stage 7 2015 Vuelta a España, Stage 13 2016 Tour de San Luis, Stage 4 2016 Vuelta a Andalucía, Stage 4 2016 Vuelta a Andalucía, Stage 3 2016 Tour of the Basque Country, Stage 4 2016 Vuelta a España, Stage 17 2016 Vuelta a España, Stage 16 2016 Vuelta a España, Stage 19 2014 Triptyque des Monts et Châteaux, Stage 2b 2016 Volta a Catalunya, Stage 1 2016 Volta a Catalunya, Stage 2 2016 Vuelta a Burgos, Stage 4 2016 La Méditerranéenne, Stage 1 2016 Vuelta a España, Stage 2 2016 Vuelta a España, Stage 6 2015 Vuelta a España, Stage 6 2015 Vuelta a España, Stage 5 2015 Vuelta a España, Stage 4 2016 Tirreno–Adriatico, Stage 5 2015 Vuelta a España, Stage 9
39
action count
action equal
action union
action find_tuple_counts
relation destination point
type type of sport
type terrain
action find_tuple_counts
relation destination point
type type of sport
type political territorial entity
value 1
[{'concept': 'type of sport'}, 'destination point', [{'concept': 'terrain'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?c ) WHERE { VALUES ( ?l ) { ( ontology:political_territorial_entity ) ( ontology:terrain ) } . ?u rdf:type ?l } GROUP BY ?y } . FILTER ( ?c = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q792
P85
Q484692
USER
How many hymns are the anthems for United States of America or El Salvador ?
(Q30,P85,c(Q484692)) (Q792,P85,c(Q484692))
action count
action union
action filter_type
action find
entity Q30
relation P85
type Q484692
action filter_type
action find
entity Q792
relation P85
type Q484692
['Q30', 'P85', {'concept': 'Q484692'}] ['Q792', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { VALUES ( ?h ) { ( resource:Q30 ) ( resource:Q792 ) } . ?h property:P85 ?w }
United States of America El Salvador
action count
action union
action filter_type
action find
entity United States of America
relation anthem
type hymn
action filter_type
action find
entity El Salvador
relation anthem
type hymn
['United States of America', 'anthem', {'concept': 'hymn'}] ['El Salvador', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { VALUES ( ?h ) { ( resource:United_States_of_America ) ( resource:El_Salvador ) } . ?h property:anthem ?w }
[]
hymn
SYSTEM
2
Q44696 Q505728
(Q30,P85,c(Q484692)) (Q792,P85,c(Q484692))
action count
action union
action filter_type
action find
entity Q30
relation P85
type Q484692
action filter_type
action find
entity Q792
relation P85
type Q484692
[ANSWER]
['Q30', 'P85', {'concept': 'Q484692'}] ['Q792', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { VALUES ( ?h ) { ( resource:Q30 ) ( resource:Q792 ) } . ?h property:P85 ?w }
The Star-Spangled Banner National Anthem of El Salvador
2
action count
action union
action filter_type
action find
entity United States of America
relation anthem
type hymn
action filter_type
action find
entity El Salvador
relation anthem
type hymn
['United States of America', 'anthem', {'concept': 'hymn'}] ['El Salvador', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { VALUES ( ?h ) { ( resource:United_States_of_America ) ( resource:El_Salvador ) } . ?h property:anthem ?w }
[]