Simple Question (Direct)
Simple Question
Q15517968
P27
Q15617994
USER
Which administrative territory does Steevan dos Santos belong to ?
(Q15517968,P27,c(Q15617994))
action filter_type
action find
entity Q15517968
relation P27
type Q15617994
['Q15517968', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q15517968 property:P27 ?h }
Steevan dos Santos
action filter_type
action find
entity Steevan dos Santos
relation country of citizenship
type designation for an administrative territorial entity
['Steevan dos Santos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Steevan_dos_Santos property:country_of_citizenship ?h }
[]
designation for an administrative territorial entity
Q1011
SYSTEM
Cape Verde
Q1011
(Q15517968,P27,c(Q15617994))
action filter_type
action find
entity Q15517968
relation P27
type Q15617994
Steevan dos Santos belongs to [ANSWER]
['Q15517968', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q15517968 property:P27 ?h }
Cape Verde
Steevan dos Santos belongs to Cape Verde
Cape Verde
action filter_type
action find
entity Steevan dos Santos
relation country of citizenship
type designation for an administrative territorial entity
['Steevan dos Santos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Steevan_dos_Santos property:country_of_citizenship ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1011
P1532
Q502895
USER
Who plays for that administrative territory ?
(c(Q502895),P1532,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q1011']
SELECT DISTINCT ?x WHERE { ?x property:P1532 resource:Q1011 . ?x rdf:type ontology:Q502895 }
Cape Verde
action filter_type
action find_reverse
entity Cape Verde
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Cape Verde']
SELECT DISTINCT ?x WHERE { ?x property:country_for_sport resource:Cape_Verde . ?x rdf:type ontology:common_name }
[]
common name
Q24260171
SYSTEM
Jordin Andrade
Q24260171
(c(Q502895),P1532,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P1532
type Q502895
[ANSWER] plays for that administrative territory
[{'concept': 'Q502895'}, 'P1532', 'Q1011']
SELECT DISTINCT ?x WHERE { ?x property:P1532 resource:Q1011 . ?x rdf:type ontology:Q502895 }
Jordin Andrade
Jordin Andrade plays for that administrative territory
Jordin Andrade
action filter_type
action find_reverse
entity Cape Verde
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Cape Verde']
SELECT DISTINCT ?x WHERE { ?x property:country_for_sport resource:Cape_Verde . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24260171
P69
Q3918
USER
Where was that person educated ?
(Q24260171,P69,c(Q3918))
action filter_type
action find
entity Q24260171
relation P69
type Q3918
['Q24260171', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?e WHERE { resource:Q24260171 property:P69 ?e . ?e rdf:type ontology:Q3918 }
Jordin Andrade
action filter_type
action find
entity Jordin Andrade
relation educated at
type university
['Jordin Andrade', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?e WHERE { resource:Jordin_Andrade property:educated_at ?e . ?e rdf:type ontology:university }
[]
university
Q891082
SYSTEM
Boise State University
Q891082
(Q24260171,P69,c(Q3918))
action filter_type
action find
entity Q24260171
relation P69
type Q3918
That person was educated at [ANSWER]
['Q24260171', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?e WHERE { resource:Q24260171 property:P69 ?e . ?e rdf:type ontology:Q3918 }
Boise State University
That person was educated at Boise State University
Boise State University
action filter_type
action find
entity Jordin Andrade
relation educated at
type university
['Jordin Andrade', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?e WHERE { resource:Jordin_Andrade property:educated_at ?e . ?e rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20982146
P21
Q290
USER
Which sex does Ata Messan Ajavon Zeus belong to ?
(Q20982146,P21,c(Q290))
action filter_type
action find
entity Q20982146
relation P21
type Q290
['Q20982146', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q20982146 property:P21 ?i . ?i rdf:type ontology:Q290 }
Ata Messan Ajavon Zeus
action filter_type
action find
entity Ata Messan Ajavon Zeus
relation gender
type sex
['Ata Messan Ajavon Zeus', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Ata_Messan_Ajavon_Zeus property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20982146,P21,c(Q290))
action filter_type
action find
entity Q20982146
relation P21
type Q290
Ata Messan Ajavon Zeus belongs to [ANSWER]
['Q20982146', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q20982146 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Ata Messan Ajavon Zeus belongs to male
male
action filter_type
action find
entity Ata Messan Ajavon Zeus
relation gender
type sex
['Ata Messan Ajavon Zeus', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Ata_Messan_Ajavon_Zeus property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q115471
Q290
USER
And also tell me about Petar Stambolić?
(Q115471,P21,c(Q290))
action filter_type
action find
entity Q115471
relation P21
type Q290
['Q115471', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q115471 property:P21 ?f . ?f rdf:type ontology:Q290 }
Petar Stambolić
action filter_type
action find
entity Petar Stambolić
relation gender
type sex
['Petar Stambolić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Petar_Stambolić property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q115471,P21,c(Q290))
action filter_type
action find
entity Q115471
relation P21
type Q290
[ANSWER]
['Q115471', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q115471 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Petar Stambolić
relation gender
type sex
['Petar Stambolić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Petar_Stambolić property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1011
P276
Q1190554
USER
What is located at Cape Verde ?
(c(Q1190554),P276,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q1011']
SELECT DISTINCT ?n WHERE { ?n property:P276 resource:Q1011 . ?n rdf:type ontology:Q1190554 }
Cape Verde
action filter_type
action find_reverse
entity Cape Verde
relation location
type event
[{'concept': 'event'}, 'location', 'Cape Verde']
SELECT DISTINCT ?n WHERE { ?n property:location resource:Cape_Verde . ?n rdf:type ontology:event }
[]
event
Q2890746
SYSTEM
Action of 13 March 1806
Q2890746
(c(Q1190554),P276,Q1011)
action filter_type
action find_reverse
entity Q1011
relation P276
type Q1190554
[ANSWER] is located at Cape Verde
[{'concept': 'Q1190554'}, 'P276', 'Q1011']
SELECT DISTINCT ?n WHERE { ?n property:P276 resource:Q1011 . ?n rdf:type ontology:Q1190554 }
Action of 13 March 1806
Action of 13 March 1806 is located at Cape Verde
Action of 13 March 1806
action filter_type
action find_reverse
entity Cape Verde
relation location
type event
[{'concept': 'event'}, 'location', 'Cape Verde']
SELECT DISTINCT ?n WHERE { ?n property:location resource:Cape_Verde . ?n rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q891082
P137
Q1076486
USER
Which sports venue is the administrator of Boise State University ?
(c(Q1076486),P137,Q891082)
action filter_type
action find_reverse
entity Q891082
relation P137
type Q1076486
[{'concept': 'Q1076486'}, 'P137', 'Q891082']
SELECT DISTINCT ?p WHERE { ?p property:P137 resource:Q891082 . ?p rdf:type ontology:Q1076486 }
Boise State University
action filter_type
action find_reverse
entity Boise State University
relation operator
type sports venue
[{'concept': 'sports venue'}, 'operator', 'Boise State University']
SELECT DISTINCT ?p WHERE { ?p property:operator resource:Boise_State_University . ?p rdf:type ontology:sports_venue }
[]
sports venue
Q2926064
SYSTEM
Albertsons Stadium
Q2926064
(c(Q1076486),P137,Q891082)
action filter_type
action find_reverse
entity Q891082
relation P137
type Q1076486
[ANSWER] is the administrator of Boise State University
[{'concept': 'Q1076486'}, 'P137', 'Q891082']
SELECT DISTINCT ?p WHERE { ?p property:P137 resource:Q891082 . ?p rdf:type ontology:Q1076486 }
Albertsons Stadium
Albertsons Stadium is the administrator of Boise State University
Albertsons Stadium
action filter_type
action find_reverse
entity Boise State University
relation operator
type sports venue
[{'concept': 'sports venue'}, 'operator', 'Boise State University']
SELECT DISTINCT ?p WHERE { ?p property:operator resource:Boise_State_University . ?p rdf:type ontology:sports_venue }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q891082
P17
Q15617994
USER
Which administrative territory is that university present in ?
(Q2926064,P17,c(Q15617994))
action filter_type
action find
entity Q891082
relation P17
type Q15617994
['Q2926064', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q891082 property:P17 ?b }
Boise State University
action filter_type
action find
entity Boise State University
relation country
type designation for an administrative territorial entity
['Albertsons Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Boise_State_University property:country ?b }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2926064,P17,c(Q15617994))
action filter_type
action find
entity Q891082
relation P17
type Q15617994
That university is the [ANSWER]
['Q2926064', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q891082 property:P17 ?b }
United States of America
That university is the United States of America
United States of America
action filter_type
action find
entity Boise State University
relation country
type designation for an administrative territorial entity
['Albertsons Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Boise_State_University property:country ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P921
Q838948
USER
Which works of art have that administrative territory as their main topic ?
(c(Q838948),P921,Q30)
action filter_type
action find_reverse
entity Q30
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q30']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q30 . ?c rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'United States of America']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:United_States_of_America . ?c rdf:type ontology:work_of_art }
[]
work of art
Q3201948 Q5225923 Q5652328
SYSTEM
America As Seen by a Frenchman, Darwin, Happiness Is
Q7714895 Q5567488 Q7759774 Q7990968 Q7156451 Q5652328 Q12126242 Q16997904 Q7501322 Q3201948 Q5225923 Q7598480 Q7769252
(c(Q838948),P921,Q30)
action filter_type
action find_reverse
entity Q30
relation P921
type Q838948
America As seen by a Frenchman, Darwin and Happiness Is have that administrative territory as their main topic
[{'concept': 'Q838948'}, 'P921', 'Q30']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q30 . ?c rdf:type ontology:Q838948 }
The Augustas Gleeful: The Real Show Choirs of America The Recess Ends What America Needs Pax Americana and the Weaponization of Space Happiness Is Money-Driven Medicine Mirage Men Shore Things America As Seen by a Frenchman Darwin Standing Army The Tiger Next Door
America As seen by a Frenchman, Darwin and Happiness Is have that administrative territory as their main topic
America As Seen by a Frenchman Darwin Happiness Is
action filter_type
action find_reverse
entity United States of America
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'United States of America']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:United_States_of_America . ?c rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q170593
P2079
Q2695280 Q838948
USER
Which technicss are used for the production of less number of works of art than collage ?
(c(Q838948),P2079,c(Q2695280))
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q170593
relation P2079
type Q838948
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:P2079 ?a . ?i rdf:type ontology:Q838948 . ?a rdf:type ontology:Q2695280 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P2079 resource:Q170593 . ?t rdf:type ontology:Q838948 } } . FILTER ( ?x < ?l ) }
collage
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity collage
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:fabrication_method ?a . ?i rdf:type ontology:work_of_art . ?a rdf:type ontology:technics } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:fabrication_method resource:collage . ?t rdf:type ontology:work_of_art } } . FILTER ( ?x < ?l ) }
[]
technics work of art
Q173242 Q26265824 Q139106
SYSTEM
woodcut technique, chasing, engraving
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q170593
relation P2079
type Q838948
[ANSWERS] are used for the production of less number of works of art than collage
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:P2079 ?a . ?i rdf:type ontology:Q838948 . ?a rdf:type ontology:Q2695280 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:P2079 resource:Q170593 . ?t rdf:type ontology:Q838948 } } . FILTER ( ?x < ?l ) }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
Woodcut technique, chasing and engraving are used for the production of less number of works of art than collage
woodcut technique chasing engraving
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity collage
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:fabrication_method ?a . ?i rdf:type ontology:work_of_art . ?a rdf:type ontology:technics } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { ?t property:fabrication_method resource:collage . ?t rdf:type ontology:work_of_art } } . FILTER ( ?x < ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1334300
P2079
Q2695280 Q838948
USER
And what about gilding?
(c(Q838948),P2079,c(Q2695280))
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q1334300
relation P2079
type Q838948
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P2079 resource:Q1334300 . ?z rdf:type ontology:Q838948 } } . FILTER ( ?m < ?x ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?m ) WHERE { ?o rdf:type ontology:Q838948 . ?d rdf:type ontology:Q2695280 . ?o property:P2079 ?d } GROUP BY ?d } }
gilding
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity gilding
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:fabrication_method resource:gilding . ?z rdf:type ontology:work_of_art } } . FILTER ( ?m < ?x ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?m ) WHERE { ?o rdf:type ontology:work_of_art . ?d rdf:type ontology:technics . ?o property:fabrication_method ?d } GROUP BY ?d } }
[]
technics work of art
Q173242 Q26265824 Q139106
SYSTEM
woodcut technique, chasing, engraving
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q1334300
relation P2079
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P2079 resource:Q1334300 . ?z rdf:type ontology:Q838948 } } . FILTER ( ?m < ?x ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?m ) WHERE { ?o rdf:type ontology:Q838948 . ?d rdf:type ontology:Q2695280 . ?o property:P2079 ?d } GROUP BY ?d } }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
woodcut technique chasing engraving
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity gilding
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:fabrication_method resource:gilding . ?z rdf:type ontology:work_of_art } } . FILTER ( ?m < ?x ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?m ) WHERE { ?o rdf:type ontology:work_of_art . ?d rdf:type ontology:technics . ?o property:fabrication_method ?d } GROUP BY ?d } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q846
P530
Q15617994
USER
How many administrative territories are known to have diplomatic connections with United States of America and Qatar ?
(c(Q15617994),P530,Q30) (c(Q15617994),P530,Q846)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q846
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q30'] [{'concept': 'Q15617994'}, 'P530', 'Q846']
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p rdf:type ontology:Q15617994 . ?p property:P530 resource:Q846 . ?p rdf:type ontology:Q15617994 . ?p property:P530 resource:Q30 }
United States of America Qatar
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Qatar
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Qatar']
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation resource:Qatar . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
4
Q858 Q929 Q805 Q230
(c(Q15617994),P530,Q30) (c(Q15617994),P530,Q846)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q846
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q30'] [{'concept': 'Q15617994'}, 'P530', 'Q846']
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p rdf:type ontology:Q15617994 . ?p property:P530 resource:Q846 . ?p rdf:type ontology:Q15617994 . ?p property:P530 resource:Q30 }
Syria Central African Republic Yemen Georgia
4
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Qatar
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Qatar']
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation resource:Qatar . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P710
Q350604
USER
What event did United States of America particiate in ?
(c(Q350604),P710,Q30)
action filter_type
action find_reverse
entity Q30
relation P710
type Q350604
[{'concept': 'Q350604'}, 'P710', 'Q30']
SELECT DISTINCT ?v WHERE { ?v property:P710 resource:Q30 . ?v rdf:type ontology:Q350604 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation participant
type armed conflict
[{'concept': 'armed conflict'}, 'participant', 'United States of America']
SELECT DISTINCT ?v WHERE { ?v property:participant resource:United_States_of_America . ?v rdf:type ontology:armed_conflict }
[]
armed conflict
Q26013 Q817206 Q6192082
SYSTEM
War of 1812, Cambodian Civil War, Jicarilla War
Q26013 Q6192082 Q877450 Q817206 Q6683
(c(Q350604),P710,Q30)
action filter_type
action find_reverse
entity Q30
relation P710
type Q350604
United States of America particiated in [ANSWERS]
[{'concept': 'Q350604'}, 'P710', 'Q30']
SELECT DISTINCT ?v WHERE { ?v property:P710 resource:Q30 . ?v rdf:type ontology:Q350604 }
War of 1812 Jicarilla War Laotian Civil War Cambodian Civil War Mexican–American War
United States of America particiated in War of 1812, Cambodian Civil War and Jicarilla War
War of 1812 Cambodian Civil War Jicarilla War
action filter_type
action find_reverse
entity United States of America
relation participant
type armed conflict
[{'concept': 'armed conflict'}, 'participant', 'United States of America']
SELECT DISTINCT ?v WHERE { ?v property:participant resource:United_States_of_America . ?v rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P108
Q502895
USER
Who works for that administrative territory ?
(c(Q502895),P108,Q26013) (c(Q502895),P108,Q817206) (c(Q502895),P108,Q6192082)
action filter_type
action find_reverse
entity Q30
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q26013'] [{'concept': 'Q502895'}, 'P108', 'Q817206'] [{'concept': 'Q502895'}, 'P108', 'Q6192082']
SELECT DISTINCT ?d WHERE { ?d property:P108 resource:Q30 . ?d rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'War of 1812'] [{'concept': 'common name'}, 'employer', 'Cambodian Civil War'] [{'concept': 'common name'}, 'employer', 'Jicarilla War']
SELECT DISTINCT ?d WHERE { ?d property:employer resource:United_States_of_America . ?d rdf:type ontology:common_name }
[]
common name
Q231417
SYSTEM
Barbara Walters
Q231417
(c(Q502895),P108,Q26013) (c(Q502895),P108,Q817206) (c(Q502895),P108,Q6192082)
action filter_type
action find_reverse
entity Q30
relation P108
type Q502895
[ANSWER] works for that administrative territory
[{'concept': 'Q502895'}, 'P108', 'Q26013'] [{'concept': 'Q502895'}, 'P108', 'Q817206'] [{'concept': 'Q502895'}, 'P108', 'Q6192082']
SELECT DISTINCT ?d WHERE { ?d property:P108 resource:Q30 . ?d rdf:type ontology:Q502895 }
Barbara Walters
Barbara Walters works for that administrative territory
Barbara Walters
action filter_type
action find_reverse
entity United States of America
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'War of 1812'] [{'concept': 'common name'}, 'employer', 'Cambodian Civil War'] [{'concept': 'common name'}, 'employer', 'Jicarilla War']
SELECT DISTINCT ?d WHERE { ?d property:employer resource:United_States_of_America . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q502895 Q15619164 Q838948
USER
Which works of art have the character around 15 people and abstract beings ?
(c(Q838948),P674,c(Q502895)|c(Q15619164))
action approx
action union
action find_tuple_counts
relation P674
type Q838948
type Q502895
action find_tuple_counts
relation P674
type Q838948
type Q15619164
value 15
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q502895'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q15619164 ) } } GROUP BY ?m } . FILTER ( ?l = 15 ) }
action approx
action union
action find_tuple_counts
relation characters
type work of art
type common name
action find_tuple_counts
relation characters
type work of art
type abstract being
value 15
[{'concept': 'work of art'}, 'characters', [{'concept': 'common name'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:common_name ) ( ontology:abstract_being ) } } GROUP BY ?m } . FILTER ( ?l = 15 ) }
[]
common name abstract being work of art
Q1183443
SYSTEM
The Crucible
Q1183443
(c(Q838948),P674,c(Q502895)|c(Q15619164))
action approx
action union
action find_tuple_counts
relation P674
type Q838948
type Q502895
action find_tuple_counts
relation P674
type Q838948
type Q15619164
value 15
[ANSWER] have the character around 15 people and abstract beings
[{'concept': 'Q838948'}, 'P674', [{'concept': 'Q502895'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q15619164 ) } } GROUP BY ?m } . FILTER ( ?l = 15 ) }
The Crucible
The Crucible have the character around 15 people and abstract beings
The Crucible
action approx
action union
action find_tuple_counts
relation characters
type work of art
type common name
action find_tuple_counts
relation characters
type work of art
type abstract being
value 15
[{'concept': 'work of art'}, 'characters', [{'concept': 'common name'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?l ) WHERE { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:common_name ) ( ontology:abstract_being ) } } GROUP BY ?m } . FILTER ( ?l = 15 ) }
[]