Simple Question (Direct)
Simple Question
Q352236
P1344
Q1375427
USER
Which European Championship did Wim Jonk compete in ?
(Q352236,P1344,c(Q1375427))
action filter_type
action find
entity Q352236
relation P1344
type Q1375427
['Q352236', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?w WHERE { resource:Q352236 property:P1344 ?w . ?w rdf:type ontology:Q1375427 }
Wim Jonk
action filter_type
action find
entity Wim Jonk
relation participant of
type European Championship
['Wim Jonk', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?w WHERE { resource:Wim_Jonk property:participant_of ?w . ?w rdf:type ontology:European_Championship }
[]
European Championship
Q161810
SYSTEM
UEFA Euro 1992
Q161810
(Q352236,P1344,c(Q1375427))
action filter_type
action find
entity Q352236
relation P1344
type Q1375427
Wim Jonk competed in [ANSWER]
['Q352236', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?w WHERE { resource:Q352236 property:P1344 ?w . ?w rdf:type ontology:Q1375427 }
UEFA Euro 1992
Wim Jonk competed in UEFA Euro 1992
UEFA Euro 1992
action filter_type
action find
entity Wim Jonk
relation participant of
type European Championship
['Wim Jonk', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?w WHERE { resource:Wim_Jonk property:participant_of ?w . ?w rdf:type ontology:European_Championship }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q161810
P1923
Q1194951
USER
How many national sports teams contested in UEFA Euro 1992 ?
(Q161810,P1923,c(Q1194951))
action count
action filter_type
action find
entity Q161810
relation P1923
type Q1194951
['Q161810', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b rdf:type ontology:Q1194951 . resource:Q161810 property:P1923 ?b }
UEFA Euro 1992
action count
action filter_type
action find
entity UEFA Euro 1992
relation participating teams
type national sports team
['UEFA Euro 1992', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b rdf:type ontology:national_sports_team . resource:UEFA_Euro_1992 property:participating_teams ?b }
[]
national sports team
SYSTEM
8
Q43310 Q34044 Q160826 Q47050 Q721418 Q47762 Q47774 Q131785
(Q161810,P1923,c(Q1194951))
action count
action filter_type
action find
entity Q161810
relation P1923
type Q1194951
[ANSWER]
['Q161810', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b rdf:type ontology:Q1194951 . resource:Q161810 property:P1923 ?b }
Germany national football team Scotland national football team Sweden national football team Netherlands national football team CIS national football team England national football team France national football team Denmark national football team
8
action count
action filter_type
action find
entity UEFA Euro 1992
relation participating teams
type national sports team
['UEFA Euro 1992', 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b rdf:type ontology:national_sports_team . resource:UEFA_Euro_1992 property:participating_teams ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q161810
P1346
Q1194951
USER
Which national sports team was the winner of that European Championship ?
action filter_type
action find
entity Q161810
relation P1346
type Q1194951
SELECT DISTINCT ?c WHERE { resource:Q161810 property:P1346 ?c . ?c rdf:type ontology:Q1194951 }
UEFA Euro 1992
action filter_type
action find
entity UEFA Euro 1992
relation winner
type national sports team
SELECT DISTINCT ?c WHERE { resource:UEFA_Euro_1992 property:winner ?c . ?c rdf:type ontology:national_sports_team }
[]
national sports team
Q131785
SYSTEM
Denmark national football team
Q131785
action filter_type
action find
entity Q161810
relation P1346
type Q1194951
[ANSWER] was the winner of that European Championship
SELECT DISTINCT ?c WHERE { resource:Q161810 property:P1346 ?c . ?c rdf:type ontology:Q1194951 }
Denmark national football team
Denmark national football team was the winner of that European Championship
Denmark national football team
action filter_type
action find
entity UEFA Euro 1992
relation winner
type national sports team
SELECT DISTINCT ?c WHERE { resource:UEFA_Euro_1992 property:winner ?c . ?c rdf:type ontology:national_sports_team }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8338
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately the same number of people as trumpet ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q8338
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ontology:Q34379 . resource:Q8338 property:P1303 ?u } } . FILTER ( ?o = ?g ) }
trumpet
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity trumpet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ontology:musical_instrument . resource:trumpet property:instrument ?u } } . FILTER ( ?o = ?g ) }
[]
musical instrument common name
Q80284 Q46185 Q80019
SYSTEM
viola, bass guitar, double bass
Q80284 Q46185 Q80019 Q8338 Q8371 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q8338
relation P1303
type Q34379
[ANSWERS] are played by approximately the same number of people as trumpet
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ontology:Q34379 . resource:Q8338 property:P1303 ?u } } . FILTER ( ?o = ?g ) }
viola bass guitar double bass trumpet cello organ drum kit electronic keyboard
Viola, bass guitar and double bass are played by approximately the same number of people as trumpet
viola bass guitar double bass
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity trumpet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u rdf:type ontology:musical_instrument . resource:trumpet property:instrument ?u } } . FILTER ( ?o = ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do atleast 4034 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4034
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?i >= 4034 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4034
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?i >= 4034 ) }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4034
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?i >= 4034 ) }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4034
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?i >= 4034 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1923
Q1194951 Q15275719
USER
Which recurring events did atmost 14 national sports teams compete in ?
(c(Q15275719),P1923,c(Q1194951))
action atmost
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
value 14
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?z ) WHERE { ?b property:P1923 ?s . ?b rdf:type ontology:Q15275719 . ?s rdf:type ontology:Q1194951 } GROUP BY ?b } . FILTER ( ?z <= 14 ) }
action atmost
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
value 14
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?z ) WHERE { ?b property:participating_teams ?s . ?b rdf:type ontology:recurring_event . ?s rdf:type ontology:national_sports_team } GROUP BY ?b } . FILTER ( ?z <= 14 ) }
[]
national sports team recurring event
Q132515 Q19967338 Q48432
SYSTEM
1950 FIFA World Cup, La Roue Tourangelle 2015, 1930 FIFA World Cup
Q132515 Q48432 Q170645 Q19967338
(c(Q15275719),P1923,c(Q1194951))
action atmost
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
value 14
Atmost 14 national sports teams competed in [ANSWERS]
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?z ) WHERE { ?b property:P1923 ?s . ?b rdf:type ontology:Q15275719 . ?s rdf:type ontology:Q1194951 } GROUP BY ?b } . FILTER ( ?z <= 14 ) }
1950 FIFA World Cup 1930 FIFA World Cup 2018 FIFA World Cup La Roue Tourangelle 2015
Atmost 14 national sports teams competed in 1950 FIFA World Cup, La Roue Tourangelle 2015 and 1930 FIFA World Cup
1950 FIFA World Cup La Roue Tourangelle 2015 1930 FIFA World Cup
action atmost
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
value 14
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?z ) WHERE { ?b property:participating_teams ?s . ?b rdf:type ontology:recurring_event . ?s rdf:type ontology:national_sports_team } GROUP BY ?b } . FILTER ( ?z <= 14 ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P664
Q618123 Q43229 Q15275719
USER
Which recurring events were the event organized by more number of geographical objects and organizations than that recurring event ?
(c(Q15275719),P664,c(Q618123)|c(Q43229))
[{'concept': 'Q15275719'}, 'P664', [{'concept': 'Q618123'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:Q2029941 ?p } . ?z rdf:type ontology:Q15275719 . ?y rdf:type ontology:Q618123 . ?x rdf:type ontology:Q43229 }
[{'concept': 'recurring event'}, 'organizer', [{'concept': 'geographical object'}, {'concept': 'organization'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:organizer ?p } . ?z rdf:type ontology:recurring_event . ?y rdf:type ontology:geographical_object . ?x rdf:type ontology:organization }
[]
geographical object organization recurring event
Comparative|More/Less|Mult. entity type|Clarification
Q132515
SYSTEM
Did you mean 1950 FIFA World Cup ?
(c(Q15275719),P664,c(Q618123)|c(Q43229))
[ANSWER]
[{'concept': 'Q15275719'}, 'P664', [{'concept': 'Q618123'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:Q2029941 ?p } . ?z rdf:type ontology:Q15275719 . ?y rdf:type ontology:Q618123 . ?x rdf:type ontology:Q43229 }
Did you mean 1950 FIFA World Cup ?
1950 FIFA World Cup
[{'concept': 'recurring event'}, 'organizer', [{'concept': 'geographical object'}, {'concept': 'organization'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:organizer ?p } . ?z rdf:type ontology:recurring_event . ?y rdf:type ontology:geographical_object . ?x rdf:type ontology:organization }
[]
Comparative Reasoning (All)
USER
No, I meant 1930 FIFA World Cup. Could you tell me the answer for that?
(c(Q15275719),P664,c(Q618123)|c(Q43229))
Q48432
[{'concept': 'Q15275719'}, 'P664', [{'concept': 'Q618123'}, {'concept': 'Q43229'}]]
[{'concept': 'recurring event'}, 'organizer', [{'concept': 'geographical object'}, {'concept': 'organization'}]]
[]
SYSTEM
39
Q203254 Q205192 Q188517 Q26995804 Q25266570 Q171784 Q826038 Q203968 Q15215081 Q16913723 Q7934510 Q22679698 Q200794 Q154846 Q5389 Q203329 Q43605 Q19724453 Q2537906 Q207889 Q1189150 Q11895187 Q203245 Q204010 Q6015709 Q2702813 Q483279 Q508268 Q199924 Q33881 Q203975 Q728085 Q183042 Q203983 Q1578389 Q299128 Q15787287 Q405510 Q3271471
(c(Q15275719),P664,c(Q618123)|c(Q43229))
[ANSWER]
[{'concept': 'Q15275719'}, 'P664', [{'concept': 'Q618123'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q2029941 ?y } UNION { ?z property:Q2029941 ?x } } . ?z rdf:type ontology:Q15275719 . ?y rdf:type ontology:Q618123 . ?x rdf:type ontology:Q43229 }
Eurovision Song Contest 1962 Eurovision Song Contest 1967 Eurovision Song Contest 1958 State of the Map GLAM on Tour Eurovision Song Contest 1956 Boston Marathon Eurovision Song Contest 1963 Eurovision Song Contest 2015 2014 European Beach Volleyball Championships Virginia Slims Circuit Civil Society Forum Eurovision Song Contest 1961 Eurovision Song Contest 1957 Olympic Games Eurovision Song Contest 1969 French Open World Esperanto Congress 2017 WTA Tour Eurovision Song Contest 1966 Hong Kong International Film Festival SuomiAreena Eurovision Song Contest 1960 Eurovision Song Contest 1968 Eurovision Song Contest 2016 World Ports Classic Wikimania Tour du Faso Eurovision Song Contest 1959 Tour de France Eurovision Song Contest 1965 Shanghai Masters Tour of Qatar Eurovision Song Contest 1964 Tour of Oman ECC Antwerp 2016 European Beach Volleyball Championships Tour de Picardie Lahti Ski Games
39
[{'concept': 'recurring event'}, 'organizer', [{'concept': 'geographical object'}, {'concept': 'organization'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:organizer ?y } UNION { ?z property:organizer ?x } } . ?z rdf:type ontology:recurring_event . ?y rdf:type ontology:geographical_object . ?x rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q502895 Q15850590 Q838948
USER
How many people are approximately 1 theatrical genres and works of art a fork of ?
(c(Q15850590)|c(Q838948),P144,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P144
type Q502895
type Q838948
value 1
[[{'concept': 'Q15850590'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?m WHERE { { ?m rdf:type ontology:Q502895 . ?e rdf:type ontology:Q838948 . ?e property:P144 ?m } UNION { ?e property:P144 ?m . ?m rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15850590 } } GROUP BY ?m } . FILTER ( ?b = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation based on
type common name
type theatrical genre
action find_reverse_tuple_counts
relation based on
type common name
type work of art
value 1
[[{'concept': 'theatrical genre'}, {'concept': 'work of art'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?m WHERE { { ?m rdf:type ontology:common_name . ?e rdf:type ontology:work_of_art . ?e property:based_on ?m } UNION { ?e property:based_on ?m . ?m rdf:type ontology:common_name . ?e rdf:type ontology:theatrical_genre } } GROUP BY ?m } . FILTER ( ?b = 1 ) }
[]
common name theatrical genre work of art
SYSTEM
342
Q5213748 Q4761074 Q6956765 Q6270274 Q11975 Q7346914 Q5523435 Q6170802 Q7329545 Q6105915 Q4910639 Q6219253 Q5677173 Q3416089 Q3034976 Q3607759 Q3051562 Q8068814 Q6253512 Q51513 Q6523571 Q4739623 Q81000 Q5346446 Q40939 Q3141517 Q7613152 Q5941619 Q852306 Q7364949 Q333265 Q897973 Q5488892 Q6244057 Q134958 Q6881211 Q6261706 Q7368981 Q4796744 Q4759664 Q5685 Q5686 Q4128234 Q5673 Q5679 Q130631 Q7381376 Q6272923 Q3568976 Q5363776 Q6776113 Q3218695 Q6388687 Q5478599 Q937459 Q7372970 Q6241721 Q70326 Q7855008 Q7287789 Q6106879 Q348001 Q167752 Q310800 Q93349 Q5927524 Q6375547 Q7000426 Q160333 Q3471259 Q1303974 Q5262123 Q6773628 Q8015110 Q5386986 Q2669574 Q5431144 Q7226 Q2479548 Q3159808 Q6147389 Q5361154 Q5107501 Q7200 Q5233328 Q6965802 Q3179129 Q13427328 Q958256 Q1658606 Q6141832 Q6469613 Q7437284 Q191103 Q7458228 Q3183180 Q3530721 Q3020878 Q4763725 Q5322119 Q5052809 Q6451338 Q7363505 Q5314594 Q11238103 Q5314597 Q8029867 Q6250890 Q7332345 Q12309539 Q5538431 Q3228926 Q6681382 Q932961 Q6702448 Q266789 Q13115017 Q6529581 Q378053 Q219780 Q4411247 Q6988258 Q154438 Q3453643 Q555195 Q6209183 Q7143507 Q57242 Q11618411 Q7287962 Q6744190 Q4773434 Q6134013 Q844318 Q7812697 Q298877 Q75746 Q2146982 Q692 Q3431063 Q168962 Q5701833 Q5181529 Q1357554 Q5213609 Q7273310 Q5660079 Q734955 Q3619249 Q5298523 Q7922094 Q5193069 Q1445614 Q7436898 Q11447916 Q202749 Q7025282 Q6773747 Q7093943 Q7447135 Q608806 Q4065275 Q177854 Q503068 Q5545478 Q311070 Q6257365 Q4817706 Q185696 Q6409985 Q8963 Q1398 Q5849494 Q3331614 Q14338667 Q5560909 Q2502372 Q7911349 Q186486 Q5363538 Q5344093 Q3047194 Q6297405 Q154010 Q154014 Q1361147 Q7613410 Q6796103 Q3347897 Q6134127 Q3595313 Q46926 Q2085146 Q5089814 Q5549017 Q202650 Q7704287 Q4730754 Q7437294 Q4898960 Q5363054 Q506878 Q548960 Q6760327 Q7456663 Q5077339 Q4187362 Q148714 Q5272307 Q3105052 Q5640722 Q4899508 Q3301790 Q4696245 Q3376515 Q5610225 Q350552 Q6962760 Q5363300 Q7181755 Q3430915 Q2493515 Q6793420 Q840990 Q139739 Q154340 Q6074798 Q5361214 Q81445 Q5444237 Q3157127 Q7150519 Q7369542 Q7668588 Q6762778 Q6304164 Q41223 Q5145551 Q1956342 Q7347337 Q6143676 Q13564502 Q4647806 Q649790 Q5026262 Q699619 Q22670 Q11270727 Q3262364 Q7364277 Q7436164 Q2396324 Q7307753 Q7670494 Q3334185 Q7357712 Q7397840 Q43718 Q768296 Q1391877 Q2845322 Q6446710 Q1494674 Q3182354 Q22714 Q3568651 Q5106606 Q337185 Q6101 Q7175413 Q5006730 Q5516058 Q6914955 Q7706913 Q5344127 Q4864658 Q6774650 Q213549 Q3564902 Q4446505 Q1755191 Q191305 Q493 Q5294036 Q6938000 Q370392 Q1527473 Q1237718 Q4518059 Q170846 Q1485988 Q7177457 Q4808343 Q6282963 Q3909034 Q319261 Q7346262 Q6531163 Q1383201 Q132695 Q3595177 Q154732 Q3081707 Q3088826 Q155855 Q4772439 Q5071329 Q6833091 Q4897616 Q5529938 Q12768607 Q5423761 Q5354389 Q7456549 Q13559801 Q6152339 Q4900700 Q5216759 Q191999 Q6963187 Q6680423 Q5586024 Q5620219 Q3849499 Q237196 Q634100 Q7668479 Q5136879 Q3327572 Q13115080 Q9096027 Q14302511 Q6409284 Q2723574 Q7688102 Q245802 Q318462 Q6135694 Q1912368 Q3469340 Q5339868 Q11685189
(c(Q15850590)|c(Q838948),P144,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P144
type Q502895
type Q838948
value 1
[ANSWER]
[[{'concept': 'Q15850590'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?m WHERE { { ?m rdf:type ontology:Q502895 . ?e rdf:type ontology:Q838948 . ?e property:P144 ?m } UNION { ?e property:P144 ?m . ?m rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15850590 } } GROUP BY ?m } . FILTER ( ?b = 1 ) }
Dan Jenkins Andy Mulligan Nabarun Bhattacharya Jon Abbate Britney Spears Robert Lindsey Garland Roark Jean Hanff Korelitz Richard Tregaskis J. H. Wallis Bill Richmond John Appleby Harvey Fergusson Rachel Crothers Dominique Barbéris Alan Le May Elmer Blaney Harris Zelma Roberts John Pudney Hugo von Hofmannsthal Leo Brady Amanda Foreman Richard II of England Edwin Gilbert Aeschylus Pêr-Jakez Helias Steve Lieber Humphrey Slater Fred Mustard Stewart Ronald Hugh Morrieson Léon Theremin Pavol Dobšinský Frank Parkin John Larkin Taras Shevchenko Mitchell F. Jayne John Vaillant Rosita Forbes Art Cohn Andrzej Mularczyk Anton Chekhov Charles Dickens William P. Wood Hans Christian Andersen Lord Byron Jacques Derrida Russell Braddon Jonathan Dawson William Still Elizabeth Young Martin Maher Laura Kasischke Ken Wheat Frances Doel Niranjan Pal Roy Horniman John Jay Osborn, Jr. Pierre Beaumarchais Turk Pipkin Ralph Leighton J. R. Salamanca Rainis Zequinha de Abreu John Reed Bessie Smith Hubert Osborne Kate Howarde Netta Syrett Prosper Mérimée Samuel W. Taylor Eileen Joyce Derek Lambert Marshall Houts William Marchant Eric Lomax Barry Gifford Faith Baldwin Joan of Arc Bas Jan Ader Jacques Prevel Jamie Reidy Elinor Lipman Chris Morgan Alexander Pushkin David Elfick Narendranath Mitra Jimmy Starr Joseph Moncure March Fujio Akatsuka Ilja Prachař James Ramsey Ullman Ladislas Farago Scott Sommer Lucrezia Borgia Sewell Stokes Jon Cleary Tom Eyen Deborah Moggach Angna Enters E. Ray Goetz Catherine Marshall Kyle Onstott Ron Barrett Duncan Rouleau T. R. Sundaram Duncan Sarkies Wolf Mankowitz John O'Grady Rida Johnson Young Eik Skaløe George Dawes Green Lee Robinson Lorna Moon Mary Jane Ward Luke Whisnant Rebecca Schaeffer Santhosh Echikkanam Les Haylen Rob Roy MacGregor Hunter S. Thompson Glendon Swarthout Neil B. Shulman Franz Grillparzer Ruth Snyder Héctor Lavoe Joe Connelly Pat Hanna August von Kotzebue Hiroshi Aramata Ralph Peterson Mallika Yunis Anthony Scott Veitch James Fogle Hase Seishū Todd Walton Giuliano de' Medici G. A. Kulkarni Gabrielle Lord William Shakespeare Richard N. Goodwin Torquato Tasso Helen Ashton Craig Titley Svetozár Hurban-Vajanský Dan Greenburg R.B. Russell Harold Bell Wright Robinson Jeffers Antonio Beltramelli Dorothy M. Johnson Vernon Coleman Cully Hamner František Kubka Scott Moore Kan Shimozawa Edmond Rostand Nicholas Dante Marshall Pugh Oniroku Dan Sekar Ayu Asmara Yumiko Kawahara Alex Anderson Lorenzo de' Medici Andrej Sládkovič George Vecsey David Crockett John Seybold Atrpet Louisa May Alcott Kimberly Willis Holt Johannes Kepler Virgil Richard Hough Myron Coureval Fagan Zainab Singh Gilbert Frankau Alan White Valerie Tripp Hachikō Elizabeth Spencer Edward Lee Ed Naha Joyce Brabner Christoph Martin Wieland Georg Büchner Boris Lavrenyov Steve Moore Mary Gleed Tuttiett Ashapoorna Devi James Fox S. K. Pottekkatt Chetan Bhagat Philip Van Doren Stern Chelangatt Gopalakrishnan Gerald Clarke Abd el-Krim Terry Davis Allan Knee Scott Spencer Betty Roland Elizabeth Kata Emmett Till David Graham Phillips Marghanita Laski Sethu Charles Einstein Ahmad Tohari Jaime Escalante Dibyendu Palit Giacomo Francesco Bussani Hal Carleton Beverly Donofrio Maury Dexter Ahn Jung-hyo Peter Corris Yoshikazu Takeuchi Kálmán Mikszáth Nancy Jo Sales Elizabeth Packard Phil Campbell Richard Jessup Else Holmelund Minarik Maurice Procter Yang Sok-il Walker Hamilton Francis Bacon Irving Shulman Eliot Asinof Salawat Yulayev Ferguson Findley Jack Bernstein Paul Ernst Ross Napier T. Padmanabhan Marie Brenner Philippe Mora Boris Pasternak Colin Scrimgeour Taku Mayumura Robert Marasco James Still T. P. Rajeevan A. G. Street Harry Grey Cameron Hawley Vladislav Vančura Friedrich Schiller James Bridie Louis Joseph Vance Ron Powers Scott Corbett David Giler Reg Cribb TJ Dawe Susan Isaacs Rogelio Barriga Rivas Sadguru Sivananda Murty Nikolai Gogol Margaret Ayer Barnes František Hrubín Anandi Gopal Joshi Kurt Eichenwald James Hunter John Requa Karl May William Gay Chris Fuhrman Audie Murphy Marco Polo Peter Lefcourt C. N. Sreekantan Nair Gabrielle Carey Morton Thompson Tetsuo Takashima Edward Levy Barry Reed Marthe Cnockaert Friedrich Maximilian Klinger Zikmund Winter Katariina Souri Sutan Takdir Alisjahbana Gérard de Nerval Arthur Rimbaud Donald Bevan Nicholas Markowitz Borisav Stanković Gisela Werler Franz-Olivier Giesbert Hank Searls Erzsébet Báthory Mikheil Javakhishvili Peter Van Greenaway Assaf Bernstein Joseph F. Dinneen Porter Emerson Browne Eugène Scribe Robert Kaplow Leslie Stokes Ján Hollý Harry Martinson Jessica Lal Agrippina the Younger Ib Melchior Grace Zaring Stone Karel Čapek Anthony E. Pratt Chandradhar Sharma Guleri Michael Noonan Beth Raymer Geeta Anand Ján Poničan F.J. Thwaites Eleanor Smith Seth Margolis Harris Goldberg Jane Hamilton Bhagwati Charan Verma Daniel Carney Robert McNamara Nandanar Loren Singer Gordon Young Gurney Slade Mark Jacobson H. Rider Haggard Josef Kajetán Tyl T. Lewis Clyde Brion Davis Mukul S. Anand C. V. Balakrishnan William Craig Boota Singh Kim Ryeo-ryeong Narsinh Mehta Tatiana Niculescu Bran Alexandre Stavisky Edward Bulwer-Lytton James Haskins Max Catto Sakae Tsuboi Edmund Trzcinski John Farris
342
action count
action approx
action union
action find_reverse_tuple_counts
relation based on
type common name
type theatrical genre
action find_reverse_tuple_counts
relation based on
type common name
type work of art
value 1
[[{'concept': 'theatrical genre'}, {'concept': 'work of art'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?m WHERE { { ?m rdf:type ontology:common_name . ?e rdf:type ontology:work_of_art . ?e property:based_on ?m } UNION { ?e property:based_on ?m . ?m rdf:type ontology:common_name . ?e rdf:type ontology:theatrical_genre } } GROUP BY ?m } . FILTER ( ?b = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q126234 Q131785
P27 P1532
Q1048835
USER
Which political territories do Denmark national football team represent or are Wolfgang Yourgrau a civilian of ?
OR((Q131785,P1532,c(Q1048835)), (Q126234,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q131785
relation P1532
action find
entity Q126234
relation P27
type Q1048835
{'OR': [['Q131785', 'P1532', {'concept': 'Q1048835'}], ['Q126234', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . { { resource:Q131785 property:P1532 ?b } UNION { resource:Q126234 property:P27 ?b } } }
Wolfgang Yourgrau Denmark national football team
action filter_type
action union
action find
entity Denmark national football team
relation country for sport
action find
entity Wolfgang Yourgrau
relation country of citizenship
type political territorial entity
{'OR': [['Denmark national football team', 'country for sport', {'concept': 'political territorial entity'}], ['Wolfgang Yourgrau', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . { { resource:Denmark_national_football_team property:country_for_sport ?b } UNION { resource:Wolfgang_Yourgrau property:country_of_citizenship ?b } } }
[]
political territorial entity
Q183 Q35
SYSTEM
Germany, Denmark
Q183 Q35
OR((Q131785,P1532,c(Q1048835)), (Q126234,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q131785
relation P1532
action find
entity Q126234
relation P27
type Q1048835
A civilian of [ANSWERS] Denmark national football team represent or are Wolfgang Yourgrau
{'OR': [['Q131785', 'P1532', {'concept': 'Q1048835'}], ['Q126234', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . { { resource:Q131785 property:P1532 ?b } UNION { resource:Q126234 property:P27 ?b } } }
Germany Denmark
A civilian of Germany and Denmark Denmark national football team represent or are Wolfgang Yourgrau
Germany Denmark
action filter_type
action union
action find
entity Denmark national football team
relation country for sport
action find
entity Wolfgang Yourgrau
relation country of citizenship
type political territorial entity
{'OR': [['Denmark national football team', 'country for sport', {'concept': 'political territorial entity'}], ['Wolfgang Yourgrau', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . { { resource:Denmark_national_football_team property:country_for_sport ?b } UNION { resource:Wolfgang_Yourgrau property:country_of_citizenship ?b } } }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q180563 Q161810
P1923
Q1194951
USER
Which national sports teams contested in UEFA Euro 1992 but not UEFA Euro 1996 ?
AND((Q161810,P1923,c(Q1194951)), NOT((Q180563,P1923,c(Q1194951))))
action filter_type
action difference
action find
entity Q161810
relation P1923
action find
entity Q180563
relation P1923
type Q1194951
{'AND': [['Q161810', 'P1923', {'concept': 'Q1194951'}], {'NOT': [['Q180563', 'P1923', {'concept': 'Q1194951'}]]}]}
SELECT DISTINCT ?p WHERE { FILTER NOT EXISTS { resource:Q180563 property:P1923 ?p } . resource:Q161810 property:P1923 ?p . ?p rdf:type ontology:Q1194951 }
UEFA Euro 1996 UEFA Euro 1992
action filter_type
action difference
action find
entity UEFA Euro 1992
relation participating teams
action find
entity UEFA Euro 1996
relation participating teams
type national sports team
{'AND': [['UEFA Euro 1992', 'participating teams', {'concept': 'national sports team'}], {'NOT': [['UEFA Euro 1996', 'participating teams', {'concept': 'national sports team'}]]}]}
SELECT DISTINCT ?p WHERE { FILTER NOT EXISTS { resource:UEFA_Euro_1996 property:participating_teams ?p } . resource:UEFA_Euro_1992 property:participating_teams ?p . ?p rdf:type ontology:national_sports_team }
[]
national sports team
Q721418 Q160826
SYSTEM
CIS national football team, Sweden national football team
Q721418 Q160826
AND((Q161810,P1923,c(Q1194951)), NOT((Q180563,P1923,c(Q1194951))))
action filter_type
action difference
action find
entity Q161810
relation P1923
action find
entity Q180563
relation P1923
type Q1194951
[ANSWERS] contested in UEFA Euro 1992 but not UEFA Euro 1996
{'AND': [['Q161810', 'P1923', {'concept': 'Q1194951'}], {'NOT': [['Q180563', 'P1923', {'concept': 'Q1194951'}]]}]}
SELECT DISTINCT ?p WHERE { FILTER NOT EXISTS { resource:Q180563 property:P1923 ?p } . resource:Q161810 property:P1923 ?p . ?p rdf:type ontology:Q1194951 }
CIS national football team Sweden national football team
CIS national football team and Sweden national football team contested in UEFA Euro 1992 but not UEFA Euro 1996
CIS national football team Sweden national football team
action filter_type
action difference
action find
entity UEFA Euro 1992
relation participating teams
action find
entity UEFA Euro 1996
relation participating teams
type national sports team
{'AND': [['UEFA Euro 1992', 'participating teams', {'concept': 'national sports team'}], {'NOT': [['UEFA Euro 1996', 'participating teams', {'concept': 'national sports team'}]]}]}
SELECT DISTINCT ?p WHERE { FILTER NOT EXISTS { resource:UEFA_Euro_1996 property:participating_teams ?p } . resource:UEFA_Euro_1992 property:participating_teams ?p . ?p rdf:type ontology:national_sports_team }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q161810
P1923
Q1375427
USER
Did those national sports teams participate in UEFA Euro 1992 ?
(Q161810,P1923,Q721418) (Q161810,P1923,Q160826)
action is_in
entity prev_answer
action find
entity Q161810
relation P1923
['Q161810', 'P1923', 'Q721418'] ['Q161810', 'P1923', 'Q160826']
ASK WHERE { VALUES ( ?i ) { ( resource:Q721418 ) ( resource:Q160826 ) } . resource:Q161810 property:P1923 ?i }
UEFA Euro 1992
action is_in
entity prev_answer
action find
entity UEFA Euro 1992
relation participating teams
['UEFA Euro 1992', 'participating teams', 'CIS national football team'] ['UEFA Euro 1992', 'participating teams', 'Sweden national football team']
ASK WHERE { VALUES ( ?i ) { ( resource:CIS_national_football_team ) ( resource:Sweden_national_football_team ) } . resource:UEFA_Euro_1992 property:participating_teams ?i }
[]
European Championship
SYSTEM
YES
(Q161810,P1923,Q721418) (Q161810,P1923,Q160826)
action is_in
entity prev_answer
action find
entity Q161810
relation P1923
[ANSWER]
['Q161810', 'P1923', 'Q721418'] ['Q161810', 'P1923', 'Q160826']
ASK WHERE { VALUES ( ?i ) { ( resource:Q721418 ) ( resource:Q160826 ) } . resource:Q161810 property:P1923 ?i }
Yes
action is_in
entity prev_answer
action find
entity UEFA Euro 1992
relation participating teams
['UEFA Euro 1992', 'participating teams', 'CIS national football team'] ['UEFA Euro 1992', 'participating teams', 'Sweden national football team']
ASK WHERE { VALUES ( ?i ) { ( resource:CIS_national_football_team ) ( resource:Sweden_national_football_team ) } . resource:UEFA_Euro_1992 property:participating_teams ?i }
[]