Simple Question (Direct)
Simple Question
Q6408616
P641
Q349
USER
Which sport did Kim Eung-Jin participate in ?
(Q6408616,P641,c(Q349))
action filter_type
action find
entity Q6408616
relation P641
type Q349
['Q6408616', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q6408616 property:P641 ?a . ?a rdf:type ontology:Q349 }
Kim Eung-Jin
action filter_type
action find
entity Kim Eung-Jin
relation sport
type sport
['Kim Eung-Jin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Kim_Eung-Jin property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6408616,P641,c(Q349))
action filter_type
action find
entity Q6408616
relation P641
type Q349
Kim Eung-Jin participated in [ANSWER]
['Q6408616', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q6408616 property:P641 ?a . ?a rdf:type ontology:Q349 }
association football
Kim Eung-Jin participated in association football
association football
action filter_type
action find
entity Kim Eung-Jin
relation sport
type sport
['Kim Eung-Jin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Kim_Eung-Jin property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P921
Q838948
USER
What are that sport a main subject of ?
(c(Q838948),P921,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q2736']
SELECT DISTINCT ?d WHERE { ?d property:P921 resource:Q2736 . ?d rdf:type ontology:Q838948 }
association football
action filter_type
action find_reverse
entity association football
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'association football']
SELECT DISTINCT ?d WHERE { ?d property:main_subject resource:association_football . ?d rdf:type ontology:work_of_art }
[]
work of art
Q132134 Q1059164 Q1946195
SYSTEM
Goal III: Taking on the World, Goal II: Living the Dream, Montevideo, God Bless You!
Q3352372 Q72925 Q4937984 Q5408730 Q1410850 Q6214614 Q180523 Q16851144 Q3414281 Q6641530 Q732436 Q7741294 Q1198645 Q1153505 Q1258000 Q16679768 Q1764575 Q7079705 Q2655141 Q171600 Q12809142 Q3282926 Q835549 Q132134 Q869862 Q15859914 Q10452700 Q3007573 Q2332668 Q5380715 Q5741182 Q2709771 Q7838742 Q6945486 Q3815087 Q7580008 Q536299 Q376663 Q3842212 Q4688778 Q2268134 Q7899908 Q4929466 Q3502670 Q7542953 Q3487894 Q19938818 Q7170124 Q1502271 Q1517529 Q2113655 Q1115213 Q774416 Q1478224 Q5614972 Q4500341 Q640854 Q1133132 Q2291137 Q937351 Q5664643 Q5268886 Q2366257 Q5575154 Q5575150 Q5574558 Q17426181 Q1415845 Q1946195 Q16954148 Q1145506 Q5347691 Q3417444 Q1421143 Q1185615 Q12126705 Q80437 Q7550277 Q2619438 Q872852 Q6012247 Q1059164 Q8002653 Q3572224 Q3209446 Q3818696 Q3501322 Q5351392 Q1437026 Q16848040 Q859260 Q1753074 Q7760019 Q3025347 Q3519864 Q6200486 Q753676 Q2631894 Q6772372 Q5237953 Q3521134 Q501801 Q3521133 Q240535 Q17290169 Q2710467 Q3399671 Q17412636 Q16419091 Q6353558 Q7735050 Q1410031 Q5226480 Q1032177 Q5451488 Q7457576 Q909250 Q1185405 Q1961863 Q6733931 Q18126207 Q670309 Q2013960 Q4699579 Q696122 Q1140011 Q16928500 Q925937 Q922054 Q4003243 Q4689603 Q1059633 Q6750968 Q1855779 Q1988727 Q2083956 Q369492 Q700830 Q14911940 Q3283514 Q284086
(c(Q838948),P921,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P921
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P921', 'Q2736']
SELECT DISTINCT ?d WHERE { ?d property:P921 resource:Q2736 . ?d rdf:type ontology:Q838948 }
Once in a Lifetime: The Extraordinary Story of the New York Cosmos She's the Man Boh Ngau Rivales Best Joffa: The Movie Just for Kicks Superjews Awaydays Lucky Loser Maradona by Kusturica The Icelandic Dream Lessons of a Dream The Damned United Plavi 9 The Second Game Amors Baller Offside The Black Meteor Eleven Men Out Offside Garrincha: Hero of the Jungle Football Under Cover Goal III: Taking on the World Goal! The King – Jari Litmanen Ciao Bella Cup Fever Soccer Dog: European Cup Entre la coupe et l'élection Hermano Purely Belter Tres de la Cruz Roja My Football Summer Kicking It Sportszerelem Shaolin Soccer Mean Machine Mad About Mambo Af banen Gregory's Girl Urban Freestyler Blue Moon Rising Substitute Small Town Story Why? My Mate Manchester United Persepolis Men The Arsenal Stadium Mystery Looking for Eric Playing the Field G'olé! Fever Pitch Fußball ist unser Leben Guerrero 12 Garuda di Dadaku The Forbidden Team Green Street Johan Cruijff – En un momento dado The Football Factory Foosball Dhan Dhana Dhan Goal Cup-tie Honeymoon Goal Dreams Goal Go, Yellow One Night in Turin Fimpen Montevideo, God Bless You! The Class of '92 The Firm Egaro Hero There's Only One Jimmy Grimble Inazuma Eleven: Saikyō Gundan Ōga Shūrai Offside The Game of Their Lives Soccer's Hard Men A Shot at Glory Deutschland. Ein Sommermärchen In the Hands of the Gods Goal II: Living the Dream Will Yesterday's Hero La Gran final L'arbitro FC Venus El Hijo del crack Two Half Times in Hell De Prijs van de Hemel A Barefoot Dream Offside The Referee Deuxième vie The Ball of Fortune Jimmy Johnstone: Lord of the Wing The Big Green 66/67: Fairplay Is Over Marooned Inazuma Eleven GO vs. Danbōru Senki W The Great Game Heleno The Great Game Guys and Balls This is not a ball Zidane: A 21st Century Portrait The Third Half Ilusión Nacional Africa United Kallang Roar the Movie The Four Year Plan Tom Meets Zizou The Big Game When Saturday Comes Fire Talker Sevenes Real, The Movie The Game of Their Lives Ladybugs Mahha Samudram Jack to a King – The Swansea Story The Miracle of Bern Soccer Mom Ajax: Hark the Herald Angel Sings Escape to Victory Gracie United Passions The Other Final The Cup Ultimo minuto Africa United Inazuma Eleven GO: Kyūkyoku no Kizuna Gurifon Manny's Orphans I.D. Air Bud: World Pup Mike Bassett: England Manager Bend It Like Beckham The Goalkeeper's Fear of the Penalty L'arbitro Pele Eterno Kicking & Screaming
Are that sport a main subject of the Goal III: Taking on the World, Goal II: Living the Dream and Montevideo, God Bless You!
Goal III: Taking on the World Goal II: Living the Dream Montevideo, God Bless You!
action filter_type
action find_reverse
entity association football
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'association football']
SELECT DISTINCT ?d WHERE { ?d property:main_subject resource:association_football . ?d rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1170020 Q1059164
P161
Q502895
USER
Which people were casted in Goal II: Living the Dream and The Osterman Weekend ?
AND((Q1059164,P161,c(Q502895)), (Q1170020,P161,c(Q502895)))
action filter_type
action intersection
action find
entity Q1059164
relation P161
action find
entity Q1170020
relation P161
type Q502895
{'AND': [['Q1059164', 'P161', {'concept': 'Q502895'}], ['Q1170020', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { resource:Q1059164 property:P161 ?f . resource:Q1170020 property:P161 ?f . ?f rdf:type ontology:Q502895 }
The Osterman Weekend Goal II: Living the Dream
action filter_type
action intersection
action find
entity Goal II: Living the Dream
relation cast member
action find
entity The Osterman Weekend
relation cast member
type common name
{'AND': [['Goal II: Living the Dream', 'cast member', {'concept': 'common name'}], ['The Osterman Weekend', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { resource:Goal_II:_Living_the_Dream property:cast_member ?f . resource:The_Osterman_Weekend property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
common name
Q213574
SYSTEM
Rutger Hauer
Q213574
AND((Q1059164,P161,c(Q502895)), (Q1170020,P161,c(Q502895)))
action filter_type
action intersection
action find
entity Q1059164
relation P161
action find
entity Q1170020
relation P161
type Q502895
[ANSWER] was casted in Goal II: Living the Dream and The Osterman Weekend
{'AND': [['Q1059164', 'P161', {'concept': 'Q502895'}], ['Q1170020', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { resource:Q1059164 property:P161 ?f . resource:Q1170020 property:P161 ?f . ?f rdf:type ontology:Q502895 }
Rutger Hauer
Rutger Hauer was casted in Goal II: Living the Dream and The Osterman Weekend
Rutger Hauer
action filter_type
action intersection
action find
entity Goal II: Living the Dream
relation cast member
action find
entity The Osterman Weekend
relation cast member
type common name
{'AND': [['Goal II: Living the Dream', 'cast member', {'concept': 'common name'}], ['The Osterman Weekend', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { resource:Goal_II:_Living_the_Dream property:cast_member ?f . resource:The_Osterman_Weekend property:cast_member ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1170020
P344
Q502895
USER
Who is the director of photography for The Osterman Weekend ?
(Q213574,P344,c(Q502895))
action filter_type
action find
entity Q1170020
relation P344
type Q502895
['Q213574', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1170020 property:P344 ?q . ?q rdf:type ontology:Q502895 }
The Osterman Weekend
action filter_type
action find
entity The Osterman Weekend
relation director of photography
type common name
['Rutger Hauer', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:The_Osterman_Weekend property:director_of_photography ?q . ?q rdf:type ontology:common_name }
[]
common name
Q514432
SYSTEM
John Coquillon
Q514432
(Q213574,P344,c(Q502895))
action filter_type
action find
entity Q1170020
relation P344
type Q502895
The director of photography for The Osterman Weekend is Sir [ANSWER]
['Q213574', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1170020 property:P344 ?q . ?q rdf:type ontology:Q502895 }
John Coquillon
The director of photography for The Osterman Weekend is Sir John Coquillon
John Coquillon
action filter_type
action find
entity The Osterman Weekend
relation director of photography
type common name
['Rutger Hauer', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:The_Osterman_Weekend property:director_of_photography ?q . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6100267 Q1059164
P495 P17
Q15617994
USER
Which administrative territories are the origins of Goal II: Living the Dream and are Ranero a part of ?
AND((Q1059164,P495,c(Q15617994)), (Q6100267,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1059164
relation P495
action find
entity Q6100267
relation P17
type Q15617994
{'AND': [['Q1059164', 'P495', {'concept': 'Q15617994'}], ['Q6100267', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q1059164 property:P495 ?k . resource:Q6100267 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Ranero Goal II: Living the Dream
action filter_type
action intersection
action find
entity Goal II: Living the Dream
relation country of origin
action find
entity Ranero
relation country
type designation for an administrative territorial entity
{'AND': [['Goal II: Living the Dream', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Ranero', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Goal_II:_Living_the_Dream property:country_of_origin ?k . resource:Ranero property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
AND((Q1059164,P495,c(Q15617994)), (Q6100267,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1059164
relation P495
action find
entity Q6100267
relation P17
type Q15617994
[ANSWER] is the origins of Goal II: Living the Dream and is Ranero a part of
{'AND': [['Q1059164', 'P495', {'concept': 'Q15617994'}], ['Q6100267', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q1059164 property:P495 ?k . resource:Q6100267 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Spain
Spain is the origins of Goal II: Living the Dream and is Ranero a part of
Spain
action filter_type
action intersection
action find
entity Goal II: Living the Dream
relation country of origin
action find
entity Ranero
relation country
type designation for an administrative territorial entity
{'AND': [['Goal II: Living the Dream', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Ranero', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Goal_II:_Living_the_Dream property:country_of_origin ?k . resource:Ranero property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213574
P22
Q502895
USER
Which male person has a child named Rutger Hauer ?
(Q213574,P22,c(Q502895))
action filter_type
action find
entity Q213574
relation P22
type Q502895
['Q213574', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q213574 property:P22 ?n . ?n rdf:type ontology:Q502895 }
Rutger Hauer
action filter_type
action find
entity Rutger Hauer
relation father
type common name
['Rutger Hauer', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Rutger_Hauer property:father ?n . ?n rdf:type ontology:common_name }
[]
common name
Q2364552
SYSTEM
Arend Hauer
Q2364552
(Q213574,P22,c(Q502895))
action filter_type
action find
entity Q213574
relation P22
type Q502895
And [ANSWER] has a child named Rutger Hauer
['Q213574', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q213574 property:P22 ?n . ?n rdf:type ontology:Q502895 }
Arend Hauer
And Arend Hauer has a child named Rutger Hauer
Arend Hauer
action filter_type
action find
entity Rutger Hauer
relation father
type common name
['Rutger Hauer', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Rutger_Hauer property:father ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P85
Q484692
USER
What is the national anthem of Spain ?
(Q29,P85,c(Q484692))
action filter_type
action find
entity Q29
relation P85
type Q484692
['Q29', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?v WHERE { resource:Q29 property:P85 ?v . ?v rdf:type ontology:Q484692 }
Spain
action filter_type
action find
entity Spain
relation anthem
type hymn
['Spain', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?v WHERE { resource:Spain property:anthem ?v . ?v rdf:type ontology:hymn }
[]
hymn
Q130940
SYSTEM
Marcha Real
Q130940
(Q29,P85,c(Q484692))
action filter_type
action find
entity Q29
relation P85
type Q484692
The national anthem of Spain is the [ANSWER]
['Q29', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?v WHERE { resource:Q29 property:P85 ?v . ?v rdf:type ontology:Q484692 }
Marcha Real
The national anthem of Spain is the Marcha Real
Marcha Real
action filter_type
action find
entity Spain
relation anthem
type hymn
['Spain', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?v WHERE { resource:Spain property:anthem ?v . ?v rdf:type ontology:hymn }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q241748
Q484692
USER
And what about Kingdom of Serbia?
(Q241748,P85,c(Q484692))
action filter_type
action find
entity Q241748
relation P85
type Q484692
['Q241748', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?z WHERE { resource:Q241748 property:P85 ?z . ?z rdf:type ontology:Q484692 }
Kingdom of Serbia
action filter_type
action find
entity Kingdom of Serbia
relation anthem
type hymn
['Kingdom of Serbia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?z WHERE { resource:Kingdom_of_Serbia property:anthem ?z . ?z rdf:type ontology:hymn }
[]
hymn
Q185190
SYSTEM
Bože Pravde
Q185190
(Q241748,P85,c(Q484692))
action filter_type
action find
entity Q241748
relation P85
type Q484692
[ANSWER]
['Q241748', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?z WHERE { resource:Q241748 property:P85 ?z . ?z rdf:type ontology:Q484692 }
Bože Pravde
Bože Pravde
action filter_type
action find
entity Kingdom of Serbia
relation anthem
type hymn
['Kingdom of Serbia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?z WHERE { resource:Kingdom_of_Serbia property:anthem ?z . ?z rdf:type ontology:hymn }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately 3480 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3480
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?s = 3480 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3480
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?s = 3480 ) }
[]
musical instrument common name
Q8355 Q1444 Q128309
SYSTEM
violin, organ, drum kit
Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3480
[ANSWERS] are played by approximately 3480 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?s = 3480 ) }
violin organ drum kit
Violin, organ and drum kit are played by approximately 3480 people
violin organ drum kit
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3480
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?s ) WHERE { ?l property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?s = 3480 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1444
P425
Q12737077
USER
Which occupations do that musical instrument belong to ?
(c(Q12737077),P425,Q1444)
action filter_type
action find_reverse
entity Q1444
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q1444']
SELECT DISTINCT ?u WHERE { ?u property:P425 resource:Q1444 . ?u rdf:type ontology:Q12737077 }
organ
action filter_type
action find_reverse
entity organ
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'organ']
SELECT DISTINCT ?u WHERE { ?u property:field_of_this_occupation resource:organ . ?u rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q128309
SYSTEM
Did you mean drum kit ?
Q8355 Q1444 Q128309
(c(Q12737077),P425,Q8355) (c(Q12737077),P425,Q1444) (c(Q12737077),P425,Q128309)
[ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q8355'] [{'concept': 'Q12737077'}, 'P425', 'Q1444'] [{'concept': 'Q12737077'}, 'P425', 'Q128309']
SELECT DISTINCT ?u WHERE { ?u property:P425 resource:Q1444 . ?u rdf:type ontology:Q12737077 }
violin organ drum kit
Did you mean drum kit ?
drum kit
[{'concept': 'occupation'}, 'field of this occupation', 'violin'] [{'concept': 'occupation'}, 'field of this occupation', 'organ'] [{'concept': 'occupation'}, 'field of this occupation', 'drum kit']
SELECT DISTINCT ?u WHERE { ?u property:field_of_this_occupation resource:organ . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant organ. Could you tell me the answer for that?
(c(Q12737077),P425,Q1444)
Q1444
[{'concept': 'Q12737077'}, 'P425', 'Q1444']
[{'concept': 'occupation'}, 'field of this occupation', 'organ']
[]
Q765778 Q1937431
SYSTEM
organist, organ maker
Q765778 Q1937431
(c(Q12737077),P425,Q1444)
action filter_type
action find_reverse
entity Q1444
relation P425
type Q12737077
That musical instrument belong to the [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q1444']
SELECT DISTINCT ?u WHERE { ?u property:P425 resource:Q1444 . ?u rdf:type ontology:Q12737077 }
organist organ maker
That musical instrument belong to the organist and organ maker
organist organ maker
action filter_type
action find_reverse
entity organ
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'organ']
SELECT DISTINCT ?u WHERE { ?u property:field_of_this_occupation resource:organ . ?u rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q13406554 Q502895
USER
How many sports were atleast 8066 sport competitions or people a part of ?
(c(Q13406554)|c(Q502895),P641,c(Q349))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
value 8066
[[{'concept': 'Q13406554'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?d WHERE { { ?x property:P641 ?d . ?d rdf:type ontology:Q349 . ?x rdf:type ontology:Q13406554 } UNION { ?x property:P641 ?d . ?d rdf:type ontology:Q349 . ?x rdf:type ontology:Q502895 } } GROUP BY ?d } . FILTER ( ?t >= 8066 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type common name
value 8066
[[{'concept': 'sport competition'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?d WHERE { { ?x property:sport ?d . ?d rdf:type ontology:sport . ?x rdf:type ontology:sport_competition } UNION { ?x property:sport ?d . ?d rdf:type ontology:sport . ?x rdf:type ontology:common_name } } GROUP BY ?d } . FILTER ( ?t >= 8066 ) }
[]
sport sport competition common name
SYSTEM
5
Q41323 Q7291 Q5372 Q41466 Q2736
(c(Q13406554)|c(Q502895),P641,c(Q349))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
value 8066
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?d WHERE { { ?x property:P641 ?d . ?d rdf:type ontology:Q349 . ?x rdf:type ontology:Q13406554 } UNION { ?x property:P641 ?d . ?d rdf:type ontology:Q349 . ?x rdf:type ontology:Q502895 } } GROUP BY ?d } . FILTER ( ?t >= 8066 ) }
American football badminton basketball ice hockey association football
5
action count
action atleast
action union
action find_reverse_tuple_counts
relation sport
type sport
type sport competition
action find_reverse_tuple_counts
relation sport
type sport
type common name
value 8066
[[{'concept': 'sport competition'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) ?d WHERE { { ?x property:sport ?d . ?d rdf:type ontology:sport . ?x rdf:type ontology:sport_competition } UNION { ?x property:sport ?d . ?d rdf:type ontology:sport . ?x rdf:type ontology:common_name } } GROUP BY ?d } . FILTER ( ?t >= 8066 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q29
P47
Q15617994
USER
How many administrative territories have a shared border with Spain ?
(Q29,P47,c(Q15617994))
action count
action filter_type
action find
entity Q29
relation P47
type Q15617994
['Q29', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Q29 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Spain
action count
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Spain property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
Q142 Q45 Q1028 Q1025 Q228
(Q29,P47,c(Q15617994))
action count
action filter_type
action find
entity Q29
relation P47
type Q15617994
[ANSWER]
['Q29', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Q29 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
France Portugal Morocco Mauritania Andorra
5
action count
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Spain property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q20487
P47
Q15617994
USER
And how about Montone?
(Q20487,P47,c(Q15617994))
action count
action filter_type
action find
entity Q20487
relation P47
type Q15617994
['Q20487', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Q20487 property:P47 ?f . ?f rdf:type ontology:Q15617994 }
Montone
action count
action filter_type
action find
entity Montone
relation shares border with
type designation for an administrative territorial entity
['Montone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Montone property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
Q20513 Q20685 Q20413
(Q20487,P47,c(Q15617994))
action count
action filter_type
action find
entity Q20487
relation P47
type Q15617994
[ANSWER]
['Q20487', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Q20487 property:P47 ?f . ?f rdf:type ontology:Q15617994 }
Pietralunga Umbertide Città di Castello
3
action count
action filter_type
action find
entity Montone
relation shares border with
type designation for an administrative territorial entity
['Montone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Montone property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q47495
Q15617994
USER
And how about Mareno di Piave?
(Q47495,P47,c(Q15617994))
action count
action filter_type
action find
entity Q47495
relation P47
type Q15617994
['Q47495', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Q47495 property:P47 ?h . ?h rdf:type ontology:Q15617994 }
Mareno di Piave
action count
action filter_type
action find
entity Mareno di Piave
relation shares border with
type designation for an administrative territorial entity
['Mareno di Piave', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Mareno_di_Piave property:shares_border_with ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
7
(Q47495,P47,c(Q15617994))
action count
action filter_type
action find
entity Q47495
relation P47
type Q15617994
[ANSWER]
['Q47495', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Q47495 property:P47 ?h . ?h rdf:type ontology:Q15617994 }
7
action count
action filter_type
action find
entity Mareno di Piave
relation shares border with
type designation for an administrative territorial entity
['Mareno di Piave', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Mareno_di_Piave property:shares_border_with ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]