Simple Question (Direct)
Simple Question
Q27058557
P1344
Q18608583
USER
Which recurring sporting events did Albert Johnson compete in ?
(Q27058557,P1344,c(Q18608583))
action filter_type
action find
entity Q27058557
relation P1344
type Q18608583
['Q27058557', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?z WHERE { resource:Q27058557 property:P1344 ?z . ?z rdf:type ontology:Q18608583 }
Albert Johnson
action filter_type
action find
entity Albert Johnson
relation participant of
type recurring sporting event
['Albert Johnson', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?z WHERE { resource:Albert_Johnson property:participant_of ?z . ?z rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q1568165 Q542185
SYSTEM
1958 European Athletics Championships, 1954 European Athletics Championships
Q1568165 Q542185
(Q27058557,P1344,c(Q18608583))
action filter_type
action find
entity Q27058557
relation P1344
type Q18608583
Albert Johnson competed in [ANSWERS]
['Q27058557', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?z WHERE { resource:Q27058557 property:P1344 ?z . ?z rdf:type ontology:Q18608583 }
1958 European Athletics Championships 1954 European Athletics Championships
Albert Johnson competed in 1958 European Athletics Championships and 1954 European Athletics Championships
1958 European Athletics Championships 1954 European Athletics Championships
action filter_type
action find
entity Albert Johnson
relation participant of
type recurring sporting event
['Albert Johnson', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?z WHERE { resource:Albert_Johnson property:participant_of ?z . ?z rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1568165 Q542185
P641
Q31629
USER
What types of sport were 1958 European Athletics Championships and 1954 European Athletics Championships a part of ?
(Q1568165,P641,c(Q31629)) (Q542185,P641,c(Q31629))
action union
action filter_type
action find
entity Q1568165
relation P641
type Q31629
action filter_type
action find
entity Q542185
relation P641
type Q31629
['Q1568165', 'P641', {'concept': 'Q31629'}] ['Q542185', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?r WHERE { { resource:Q1568165 property:P641 ?r . ?r rdf:type ontology:Q31629 } UNION { resource:Q542185 property:P641 ?r . ?r rdf:type ontology:Q31629 } }
1958 European Athletics Championships 1954 European Athletics Championships
action union
action filter_type
action find
entity 1958 European Athletics Championships
relation sport
type type of sport
action filter_type
action find
entity 1954 European Athletics Championships
relation sport
type type of sport
['1958 European Athletics Championships', 'sport', {'concept': 'type of sport'}] ['1954 European Athletics Championships', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?r WHERE { { resource:1958_European_Athletics_Championships property:sport ?r . ?r rdf:type ontology:type_of_sport } UNION { resource:1954_European_Athletics_Championships property:sport ?r . ?r rdf:type ontology:type_of_sport } }
[]
type of sport
Q542 Q542
SYSTEM
athletics
Q542 Q542
(Q1568165,P641,c(Q31629)) (Q542185,P641,c(Q31629))
action union
action filter_type
action find
entity Q1568165
relation P641
type Q31629
action filter_type
action find
entity Q542185
relation P641
type Q31629
Were 1958 European [ANSWER] Championships and 1954 European [ANSWER] Championships a part of the [ANSWER] and [ANSWER] of sport
['Q1568165', 'P641', {'concept': 'Q31629'}] ['Q542185', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?r WHERE { { resource:Q1568165 property:P641 ?r . ?r rdf:type ontology:Q31629 } UNION { resource:Q542185 property:P641 ?r . ?r rdf:type ontology:Q31629 } }
athletics athletics
Were 1958 European Athletics Championships and 1954 European Athletics Championships a part of the athletics and athletics of sport
athletics athletics
action union
action filter_type
action find
entity 1958 European Athletics Championships
relation sport
type type of sport
action filter_type
action find
entity 1954 European Athletics Championships
relation sport
type type of sport
['1958 European Athletics Championships', 'sport', {'concept': 'type of sport'}] ['1954 European Athletics Championships', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?r WHERE { { resource:1958_European_Athletics_Championships property:sport ?r . ?r rdf:type ontology:type_of_sport } UNION { resource:1954_European_Athletics_Championships property:sport ?r . ?r rdf:type ontology:type_of_sport } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27058557
P106
Q12737077
USER
Which occupation is the profession of Albert Johnson ?
(Q27058557,P106,c(Q12737077))
action filter_type
action find
entity Q27058557
relation P106
type Q12737077
['Q27058557', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q27058557 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Albert Johnson
action filter_type
action find
entity Albert Johnson
relation occupation
type occupation
['Albert Johnson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Albert_Johnson property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q17405793
SYSTEM
racewalker
Q17405793
(Q27058557,P106,c(Q12737077))
action filter_type
action find
entity Q27058557
relation P106
type Q12737077
The [ANSWER] is the profession of Albert Johnson
['Q27058557', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q27058557 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
racewalker
The racewalker is the profession of Albert Johnson
racewalker
action filter_type
action find
entity Albert Johnson
relation occupation
type occupation
['Albert Johnson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Albert_Johnson property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27058557
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q17405793,P27,c(Q15617994))
action filter_type
action find
entity Q27058557
relation P27
type Q15617994
['Q17405793', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q27058557 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Albert Johnson
action filter_type
action find
entity Albert Johnson
relation country of citizenship
type designation for an administrative territorial entity
['racewalker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Albert_Johnson property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q17405793,P27,c(Q15617994))
action filter_type
action find
entity Q27058557
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q17405793', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q27058557 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
United Kingdom
That person belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity Albert Johnson
relation country of citizenship
type designation for an administrative territorial entity
['racewalker', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Albert_Johnson property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q145 Q91192
P530
Q15617994
USER
Does Colle di Val d'Elsa have diplomatic relations with that one ?
(Q145,P530,Q91192)
action is_in
entity Q91192
action find
entity Q145
relation P530
['Q145', 'P530', 'Q91192']
ASK WHERE { resource:Q145 property:P530 resource:Q91192 }
United Kingdom Colle di Val d'Elsa
action is_in
entity Colle di Val d'Elsa
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', "Colle di Val d'Elsa"]
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Colle_di_Val_d'Elsa }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q145,P530,Q91192)
action is_in
entity Q91192
action find
entity Q145
relation P530
[ANSWER]
['Q145', 'P530', 'Q91192']
ASK WHERE { resource:Q145 property:P530 resource:Q91192 }
No
action is_in
entity Colle di Val d'Elsa
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', "Colle di Val d'Elsa"]
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Colle_di_Val_d'Elsa }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1427
Q13539802 Q515 Q18608583
USER
Which recurring sporting events originate at min number of places with town privileges or cities ?
(c(Q18608583),P1427,c(Q13539802)|c(Q515))
action argmin
action union
action find_tuple_counts
relation P1427
type Q18608583
type Q13539802
action find_tuple_counts
relation P1427
type Q18608583
type Q515
[{'concept': 'Q18608583'}, 'P1427', [{'concept': 'Q13539802'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?f ) { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:Q13539802 ) ( ontology:Q515 ) } } GROUP BY ?a } } . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?b ) WHERE { { ?u rdf:type ontology:Q18608583 . ?e rdf:type ontology:Q13539802 . ?u property:P1427 ?e } UNION { ?u property:P1427 ?e . ?u rdf:type ontology:Q18608583 . ?e rdf:type ontology:Q515 } } GROUP BY ?u } . FILTER ( ?b = ?f ) }
action argmin
action union
action find_tuple_counts
relation start point
type recurring sporting event
type place with town rights and privileges
action find_tuple_counts
relation start point
type recurring sporting event
type city
[{'concept': 'recurring sporting event'}, 'start point', [{'concept': 'place with town rights and privileges'}, {'concept': 'city'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?f ) { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:place_with_town_rights_and_privileges ) ( ontology:city ) } } GROUP BY ?a } } . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?b ) WHERE { { ?u rdf:type ontology:recurring_sporting_event . ?e rdf:type ontology:place_with_town_rights_and_privileges . ?u property:start_point ?e } UNION { ?u property:start_point ?e . ?u rdf:type ontology:recurring_sporting_event . ?e rdf:type ontology:city } } GROUP BY ?u } . FILTER ( ?b = ?f ) }
[]
place with town rights and privileges city recurring sporting event
Q19455277 Q18946545 Q22041575
SYSTEM
2015 Iditarod, Yukon Quest 2015, 2011   Copper Basin 300
Q643108 Q18914531 Q853300 Q580122 Q910610 Q19366592 Q752416 Q579685 Q15725895 Q19860535 Q591438 Q608649 Q19818801 Q224723 Q730402 Q21008432 Q18579438 Q21008431 Q21008436 Q21008434 Q21008435 Q18579431 Q18579430 Q18579433 Q546013 Q18579435 Q249157 Q18579436 Q586915 Q2059882 Q21074298 Q23662651 Q915903 Q4387851 Q827953 Q261798 Q734077 Q249109 Q18579410 Q20962750 Q903211 Q22041575 Q22976711 Q260299 Q849885 Q21008430 Q849882 Q20165905 Q19588577 Q19455277 Q18579429 Q842396 Q18579422 Q833232 Q18579421 Q18579427 Q18579424 Q18579425 Q19792656 Q840727 Q513819 Q749914 Q639587 Q669669 Q22093610 Q842186 Q581491 Q654890 Q221530 Q830097 Q635703 Q3937049 Q221428 Q18579419 Q18579418 Q18579417 Q18579416 Q18579415 Q18579413 Q18579412 Q18579411 Q898077 Q20640108 Q19576833 Q2096649 Q754994 Q15946733 Q907282 Q16154620 Q19401979 Q9094837 Q916886 Q847775 Q478420 Q22029432 Q20978947 Q1065480 Q849867 Q849864 Q842401 Q18579403 Q18579404 Q18579405 Q18579406 Q18579407 Q614452 Q18579409 Q18710416 Q19803458 Q577246 Q744066 Q681694 Q12007218 Q835582 Q3533787 Q19720568 Q303422 Q19258904 Q907272 Q733200 Q18579439 Q915911 Q655118 Q374222 Q21008433 Q531422 Q849871 Q10949486 Q379467 Q3768638 Q3775241 Q219413 Q20655650 Q219414 Q18946545 Q4621241 Q612937 Q682253 Q1112857 Q22344347 Q329877 Q19598853 Q19366591 Q20055171 Q18579432 Q249102 Q736720 Q378886 Q847615 Q19594844 Q18579437 Q895853 Q644632 Q384895 Q907316 Q389982 Q19947163 Q776876 Q836884 Q910171 Q19749284 Q827936 Q916617 Q21008455 Q220683 Q754426 Q19017361 Q368629 Q634350 Q915918 Q899379 Q729763 Q757405 Q506911 Q19368466 Q249097 Q217287 Q278715 Q847630 Q2349717 Q19019097 Q687902 Q19832841 Q18579440 Q45664 Q20199280 Q2508419 Q21008427 Q21008426 Q21008429 Q21008428 Q523804
(c(Q18608583),P1427,c(Q13539802)|c(Q515))
action argmin
action union
action find_tuple_counts
relation P1427
type Q18608583
type Q13539802
action find_tuple_counts
relation P1427
type Q18608583
type Q515
[ANSWERS]
[{'concept': 'Q18608583'}, 'P1427', [{'concept': 'Q13539802'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?f ) { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:Q13539802 ) ( ontology:Q515 ) } } GROUP BY ?a } } . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?b ) WHERE { { ?u rdf:type ontology:Q18608583 . ?e rdf:type ontology:Q13539802 . ?u property:P1427 ?e } UNION { ?u property:P1427 ?e . ?u rdf:type ontology:Q18608583 . ?e rdf:type ontology:Q515 } } GROUP BY ?u } . FILTER ( ?b = ?f ) }
1920 Tour de France 2015 Tour of Qatar 1921 Tour de France 1959 Tour de France 1927 Tour de France 2015 Classic Sud-Ardèche 1999 Tour de France 1912 Tour de France 2014 Tour of Qatar 2015 Tour d'Azerbaïdjan 1958 Tour de France 1983 Tour de France 2015 Paris–Camembert 1992 Tour de France 1965 Tour de France 1965 Grand Prix de Denain 2012 Yukon Quest 1964 Grand Prix de Denain 1969 Grand Prix de Denain 1967 Grand Prix de Denain 1968 Grand Prix de Denain 2006 Yukon Quest 2005 Yukon Quest 2008 Yukon Quest 1996 Tour de France 2009 Yukon Quest 1909 Tour de France 2010 Yukon Quest 1948 Tour de France 2006 Scheldeprijs 2016 Classic Sud-Ardèche 2016 Giro d'Italia Femminile 1934 Tour de France 1961 Brabantse Pijl 2002 Tour de France 1932 Tour de France 1905 Tour de France 1907 Tour de France 1990 Yukon Quest Velothon Berlin 2015 1949 Tour de France 2011   Copper Basin 300 2017 Kuurne–Brussels–Kuurne 1986 Tour de France 1913 Tour de France 1963 Grand Prix de Denain 1911 Tour de France 2015 Tour of Slovenia 2015 Ronde van Drenthe 2015 Iditarod 2004 Yukon Quest 1970 Tour de France 2000 Yukon Quest 1984 Tour de France 1999 Yukon Quest 2003 Yukon Quest 2001 Yukon Quest 2002 Yukon Quest 2015 Vuelta a La Rioja 1981 Tour de France 1935 Tour de France 1977 Tour de France 1988 Tour de France 1923 Tour de France 2016 Kuskokwim 300 1971 Tour de France 1975 Tour de France 1966 Tour de France 2008 Tour de France 1993 Tour de France 1924 Tour de France 2013 Tour of Qatar 1954 Tour de France 1998 Yukon Quest 1997 Yukon Quest 1996 Yukon Quest 1995 Yukon Quest 1994 Yukon Quest 1993 Yukon Quest 1992 Yukon Quest 1991 Yukon Quest 1994 Tour de France 2015 Tour of Austria 2015 Tour de Pologne 2012 Tour of Norway 1989 Tour de France Dwars door Drenthe 2014 1960 Tour de France 2014 Ladies Tour of Qatar 2015 Strade Bianche 1925 Vuelta a Andalucía 1938 Tour de France 1933 Tour de France 1987 Tour de France 2016 Copper Basin 300 Boucles de l'Aulne 2015 2013 Tour de France 1951 Tour de France 1922 Tour de France 1972 Tour de France 1984 Yukon Quest 1985 Yukon Quest 1986 Yukon Quest 1987 Yukon Quest 1988 Yukon Quest 1995 Tour de France 1989 Yukon Quest 2015 Milan – San Remo 2015 Brabantse Pijl 1904 Tour de France 1979 Tour de France 1926 Tour de France 2013 Tour of Norway 1978 Tour de France 2013 Ladies Tour of Qatar 2015 Scheldeprijs 1928 Tour de France 2015 Vuelta a Murcia 1961 Tour de France 1929 Tour de France 2013 Yukon Quest 1930 Tour de France 2005 Tour de France 1982 Tour de France 1966 Grand Prix de Denain 1963 Tour de France 1950 Tour de France 2002 La Flèche Wallonne 1931 Tour de France 2003 Giro d'Italia Femminile 1998 Grand Prix de Denain 2011 Tour de France 2015 Tour de Liege 2012 Tour de France Yukon Quest 2015 2011 Tour of Norway 1973 Tour de France 1955 Tour de France 1980 Amstel Gold Race 2016 Ladies Tour of Qatar 2007 Tour de France 2015 GP Ouest-France 2015 Trofeo Laigueglia 2015 Ster ZLM Toer 2007 Yukon Quest 1908 Tour de France 1962 Tour de France 1968 Tour de France 1964 Tour de France 2015 Dwars door Drenthe 2011 Yukon Quest 2014 Tour de France 2001 Tour de France 1936 Tour de France 1956 Tour de France 1919 Tour de France 2015 World Ports Classic 2000 Tour de France 1969 Tour de France 1925 Tour de France 2015 Route Adélie 1990 Tour de France 1939 Tour de France 1988 Grand Prix de Denain 1947 Tour de France 1974 Tour de France 2015 Ladies Tour of Qatar 1967 Tour de France 1910 Tour de France 1937 Tour de France 1976 Tour de France 2004 Tour de France 1997 Tour de France 1903 Tour de France 2015 Gran Premio di Lugano 1906 Tour de France 2010 Tour de France 1985 Tour de France 1957 Tour de France 2003 Kuurne–Brussels–Kuurne 2015 Gran Premio della Costa Etruschi 1914 Tour de France 2015 Hel van het Mergelland 2014 Yukon Quest 2003 Tour de France 2015 Route du Sud 1974 Amstel Gold Race 1960 Grand Prix de Denain 1959 Grand Prix de Denain 1962 Grand Prix de Denain 1961 Grand Prix de Denain 1952 Tour de France
2015 Iditarod, Yukon Quest 2015 and 2011 Copper Basin 300 originate at min number of places with town privileges or cities
2015 Iditarod Yukon Quest 2015 2011   Copper Basin 300
action argmin
action union
action find_tuple_counts
relation start point
type recurring sporting event
type place with town rights and privileges
action find_tuple_counts
relation start point
type recurring sporting event
type city
[{'concept': 'recurring sporting event'}, 'start point', [{'concept': 'place with town rights and privileges'}, {'concept': 'city'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?f ) { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?g ) WHERE { ?h rdf:type ?t . VALUES ( ?t ) { ( ontology:place_with_town_rights_and_privileges ) ( ontology:city ) } } GROUP BY ?a } } . { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?b ) WHERE { { ?u rdf:type ontology:recurring_sporting_event . ?e rdf:type ontology:place_with_town_rights_and_privileges . ?u property:start_point ?e } UNION { ?u property:start_point ?e . ?u rdf:type ontology:recurring_sporting_event . ?e rdf:type ontology:city } } GROUP BY ?u } . FILTER ( ?b = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q9802
P1444
Q13220204 Q18608583
USER
How many administrative country subdivisions are the end points of approximately the same number of recurring sporting events as Echt-Susteren ?
(c(Q18608583),P1444,c(Q13220204))
action count
action approx
action find_reverse_tuple_counts
relation P1444
type Q13220204
type Q18608583
action count
action filter_type
action find
entity Q9802
relation P1444
type Q13220204
[{'concept': 'Q18608583'}, 'P1444', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?z ) WHERE { ?y property:P1444 ?s . ?s rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q18608583 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q9802 property:P1444 ?r . ?r rdf:type ontology:Q13220204 } } . FILTER ( ?z = ?h ) }
Echt-Susteren
action count
action approx
action find_reverse_tuple_counts
relation destination point
type second-level administrative country subdivision
type recurring sporting event
action count
action filter_type
action find
entity Echt-Susteren
relation destination point
type second-level administrative country subdivision
[{'concept': 'recurring sporting event'}, 'destination point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?z ) WHERE { ?y property:destination_point ?s . ?s rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:recurring_sporting_event } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Echt-Susteren property:destination_point ?r . ?r rdf:type ontology:second-level_administrative_country_subdivision } } . FILTER ( ?z = ?h ) }
[]
second-level administrative country subdivision recurring sporting event
SYSTEM
47
Q64087 Q236744 Q70108 Q82119 Q48278 Q66604 Q101341 Q690142 Q488955 Q10081 Q10082 Q1435 Q68256 Q10005 Q39383 Q109494 Q101918 Q52685 Q21079234 Q211260 Q27587 Q2735908 Q9799 Q3549 Q73065 Q156125 Q65679 Q1663 Q586722 Q14641 Q68877 Q70202 Q179948 Q269667 Q68097 Q69126 Q65816 Q108025 Q65877 Q850211 Q9802 Q5420 Q2841 Q157144 Q9781 Q372840 Q3370
(c(Q18608583),P1444,c(Q13220204))
action count
action approx
action find_reverse_tuple_counts
relation P1444
type Q13220204
type Q18608583
action count
action filter_type
action find
entity Q9802
relation P1444
type Q13220204
[ANSWER]
[{'concept': 'Q18608583'}, 'P1444', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?z ) WHERE { ?y property:P1444 ?s . ?s rdf:type ontology:Q13220204 . ?y rdf:type ontology:Q18608583 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q9802 property:P1444 ?r . ?r rdf:type ontology:Q13220204 } } . FILTER ( ?z = ?h ) }
Baar Tunja Düdingen A Coruña Province Antioquia - Medellín Risch-Rotkreuz Lillehammer Olivone Målselv Terneuzen Tholen Zagreb Porrentruy Hellendoorn Bodø Odda Apeldoorn Champagne Gippingen Zaandam Sandnes Philippine Heerlen Šibenik Veendam Larvik Amden Split Loulé Municipality Emmen Finhaut Moudon Évora Rheinfelden Davos Möhlin Jonschwil Sarpsborg Embrach Slochteren Echt-Susteren Varaždin Bogotá Vinnytsia Sittard-Geleen Tavira Municipality Zadar
47
action count
action approx
action find_reverse_tuple_counts
relation destination point
type second-level administrative country subdivision
type recurring sporting event
action count
action filter_type
action find
entity Echt-Susteren
relation destination point
type second-level administrative country subdivision
[{'concept': 'recurring sporting event'}, 'destination point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?z ) WHERE { ?y property:destination_point ?s . ?s rdf:type ontology:second-level_administrative_country_subdivision . ?y rdf:type ontology:recurring_sporting_event } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Echt-Susteren property:destination_point ?r . ?r rdf:type ontology:second-level_administrative_country_subdivision } } . FILTER ( ?z = ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q48278
P1444
Q13220204 Q18608583
USER
And what about Antioquia - Medellín?
(c(Q18608583),P1444,c(Q13220204))
action count
action approx
action find_reverse_tuple_counts
relation P1444
type Q13220204
type Q18608583
action count
action filter_type
action find
entity Q48278
relation P1444
type Q13220204
[{'concept': 'Q18608583'}, 'P1444', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P1444 ?x . ?f rdf:type ontology:Q18608583 . ?x rdf:type ontology:Q13220204 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Q48278 property:P1444 ?s . ?s rdf:type ontology:Q13220204 } } . FILTER ( ?w = ?p ) }
Antioquia - Medellín
action count
action approx
action find_reverse_tuple_counts
relation destination point
type second-level administrative country subdivision
type recurring sporting event
action count
action filter_type
action find
entity Antioquia - Medellín
relation destination point
type second-level administrative country subdivision
[{'concept': 'recurring sporting event'}, 'destination point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:destination_point ?x . ?f rdf:type ontology:recurring_sporting_event . ?x rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Antioquia_-_Medellín property:destination_point ?s . ?s rdf:type ontology:second-level_administrative_country_subdivision } } . FILTER ( ?w = ?p ) }
[]
second-level administrative country subdivision recurring sporting event
SYSTEM
47
Q64087 Q236744 Q70108 Q82119 Q48278 Q66604 Q101341 Q690142 Q488955 Q10081 Q10082 Q1435 Q68256 Q10005 Q39383 Q109494 Q101918 Q52685 Q21079234 Q211260 Q27587 Q2735908 Q9799 Q3549 Q73065 Q156125 Q65679 Q1663 Q586722 Q14641 Q68877 Q70202 Q179948 Q269667 Q68097 Q69126 Q65816 Q108025 Q65877 Q850211 Q9802 Q5420 Q2841 Q157144 Q9781 Q372840 Q3370
(c(Q18608583),P1444,c(Q13220204))
action count
action approx
action find_reverse_tuple_counts
relation P1444
type Q13220204
type Q18608583
action count
action filter_type
action find
entity Q48278
relation P1444
type Q13220204
[ANSWER]
[{'concept': 'Q18608583'}, 'P1444', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P1444 ?x . ?f rdf:type ontology:Q18608583 . ?x rdf:type ontology:Q13220204 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Q48278 property:P1444 ?s . ?s rdf:type ontology:Q13220204 } } . FILTER ( ?w = ?p ) }
Baar Tunja Düdingen A Coruña Province Antioquia - Medellín Risch-Rotkreuz Lillehammer Olivone Målselv Terneuzen Tholen Zagreb Porrentruy Hellendoorn Bodø Odda Apeldoorn Champagne Gippingen Zaandam Sandnes Philippine Heerlen Šibenik Veendam Larvik Amden Split Loulé Municipality Emmen Finhaut Moudon Évora Rheinfelden Davos Möhlin Jonschwil Sarpsborg Embrach Slochteren Echt-Susteren Varaždin Bogotá Vinnytsia Sittard-Geleen Tavira Municipality Zadar
47
action count
action approx
action find_reverse_tuple_counts
relation destination point
type second-level administrative country subdivision
type recurring sporting event
action count
action filter_type
action find
entity Antioquia - Medellín
relation destination point
type second-level administrative country subdivision
[{'concept': 'recurring sporting event'}, 'destination point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:destination_point ?x . ?f rdf:type ontology:recurring_sporting_event . ?x rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Antioquia_-_Medellín property:destination_point ?s . ?s rdf:type ontology:second-level_administrative_country_subdivision } } . FILTER ( ?w = ?p ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19304496 Q27058557
P276 P20
Q56061
USER
Which administrative territories did the expiration of Albert Johnson occur or are Kloosterstraat located ?
OR((Q27058557,P20,c(Q56061)), (Q19304496,P276,c(Q56061)))
action filter_type
action union
action find
entity Q27058557
relation P20
action find
entity Q19304496
relation P276
type Q56061
{'OR': [['Q27058557', 'P20', {'concept': 'Q56061'}], ['Q19304496', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q27058557 property:P20 ?v } UNION { resource:Q19304496 property:P276 ?v } } . ?v rdf:type ontology:Q56061 }
Kloosterstraat Albert Johnson
action filter_type
action union
action find
entity Albert Johnson
relation place of death
action find
entity Kloosterstraat
relation location
type administrative territorial entity
{'OR': [['Albert Johnson', 'place of death', {'concept': 'administrative territorial entity'}], ['Kloosterstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Albert_Johnson property:place_of_death ?v } UNION { resource:Kloosterstraat property:location ?v } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4681121 Q40191
SYSTEM
Goirle, Hobart
Q4681121 Q40191
OR((Q27058557,P20,c(Q56061)), (Q19304496,P276,c(Q56061)))
action filter_type
action union
action find
entity Q27058557
relation P20
action find
entity Q19304496
relation P276
type Q56061
The expiration of Albert Johnson occurred in [ANSWERS]
{'OR': [['Q27058557', 'P20', {'concept': 'Q56061'}], ['Q19304496', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q27058557 property:P20 ?v } UNION { resource:Q19304496 property:P276 ?v } } . ?v rdf:type ontology:Q56061 }
Goirle Hobart
The expiration of Albert Johnson occurred in Goirle and Hobart
Goirle Hobart
action filter_type
action union
action find
entity Albert Johnson
relation place of death
action find
entity Kloosterstraat
relation location
type administrative territorial entity
{'OR': [['Albert Johnson', 'place of death', {'concept': 'administrative territorial entity'}], ['Kloosterstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Albert_Johnson property:place_of_death ?v } UNION { resource:Kloosterstraat property:location ?v } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q40191
P190
Q20667921
USER
Which french administrative division is the sister city of that administrative territory ?
(Q40191,P190,c(Q20667921))
action filter_type
action find
entity Q40191
relation P190
type Q20667921
['Q40191', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q40191 property:P190 ?n . ?n rdf:type ontology:Q20667921 }
Hobart
action filter_type
action find
entity Hobart
relation sister city
type type of french administrative division
['Hobart', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Hobart property:sister_city ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q4681121
SYSTEM
Did you mean Goirle ?
Q4681121 Q40191
(Q4681121,P190,c(Q20667921)) (Q40191,P190,c(Q20667921))
[ANSWER]
['Q4681121', 'P190', {'concept': 'Q20667921'}] ['Q40191', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q40191 property:P190 ?n . ?n rdf:type ontology:Q20667921 }
Goirle Hobart
Did you mean Goirle ?
Goirle
['Goirle', 'sister city', {'concept': 'type of french administrative division'}] ['Hobart', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Hobart property:sister_city ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
No, I meant Hobart. Could you tell me the answer for that?
(Q40191,P190,c(Q20667921))
Q40191
['Q40191', 'P190', {'concept': 'Q20667921'}]
['Hobart', 'sister city', {'concept': 'type of french administrative division'}]
[]
Q12193
SYSTEM
Brest
Q12193
(Q40191,P190,c(Q20667921))
action filter_type
action find
entity Q40191
relation P190
type Q20667921
[ANSWER] is the sister city of that administrative territory
['Q40191', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q40191 property:P190 ?n . ?n rdf:type ontology:Q20667921 }
Brest
Brest is the sister city of that administrative territory
Brest
action filter_type
action find
entity Hobart
relation sister city
type type of french administrative division
['Hobart', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Hobart property:sister_city ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]