Simple Question (Direct)
Simple Question
Q12022003
P20
Q56061
USER
Which administrative territory is the place of death of Ivan Schulz ?
(Q12022003,P20,c(Q56061))
action filter_type
action find
entity Q12022003
relation P20
type Q56061
['Q12022003', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q12022003 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Ivan Schulz
action filter_type
action find
entity Ivan Schulz
relation place of death
type administrative territorial entity
['Ivan Schulz', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ivan_Schulz property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q12022003,P20,c(Q56061))
action filter_type
action find
entity Q12022003
relation P20
type Q56061
[ANSWER] is the place of death of Ivan Schulz
['Q12022003', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q12022003 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Prague
Prague is the place of death of Ivan Schulz
Prague
action filter_type
action find
entity Ivan Schulz
relation place of death
type administrative territorial entity
['Ivan Schulz', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ivan_Schulz property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1085
P559
Q83620
USER
Which thoroughfare terminates at that administrative territory ?
(c(Q83620),P559,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P559
type Q83620
[{'concept': 'Q83620'}, 'P559', 'Q1085']
SELECT DISTINCT ?h WHERE { ?h property:P559 resource:Q1085 . ?h rdf:type ontology:Q83620 }
Prague
action filter_type
action find_reverse
entity Prague
relation terminus
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus', 'Prague']
SELECT DISTINCT ?h WHERE { ?h property:terminus resource:Prague . ?h rdf:type ontology:thoroughfare }
[]
thoroughfare
Q3508646
SYSTEM
I/2 road
Q3508646
(c(Q83620),P559,Q1085)
action filter_type
action find_reverse
entity Q1085
relation P559
type Q83620
[ANSWER] terminates at that administrative territory
[{'concept': 'Q83620'}, 'P559', 'Q1085']
SELECT DISTINCT ?h WHERE { ?h property:P559 resource:Q1085 . ?h rdf:type ontology:Q83620 }
I/2 road
I/2 road terminates at that administrative territory
I/2 road
action filter_type
action find_reverse
entity Prague
relation terminus
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus', 'Prague']
SELECT DISTINCT ?h WHERE { ?h property:terminus resource:Prague . ?h rdf:type ontology:thoroughfare }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1085
P17
Q7275
USER
Which states are Prague a part of ?
(Q1085,P17,c(Q7275))
action filter_type
action find
entity Q1085
relation P17
type Q7275
['Q1085', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7275 . resource:Q1085 property:P17 ?j }
Prague
action filter_type
action find
entity Prague
relation country
type state
['Prague', 'country', {'concept': 'state'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:state . resource:Prague property:country ?j }
[]
state
Q33946 Q131964 Q152750
SYSTEM
Czechoslovakia, Austrian Empire, Protectorate of Bohemia and Moravia
Q2162698 Q152750 Q42585 Q33946 Q131964
(Q1085,P17,c(Q7275))
action filter_type
action find
entity Q1085
relation P17
type Q7275
[ANSWERS]
['Q1085', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7275 . resource:Q1085 property:P17 ?j }
Duchy of Bohemia Protectorate of Bohemia and Moravia Kingdom of Bohemia Czechoslovakia Austrian Empire
Which states are Prague a part of
Czechoslovakia Austrian Empire Protectorate of Bohemia and Moravia
action filter_type
action find
entity Prague
relation country
type state
['Prague', 'country', {'concept': 'state'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:state . resource:Prague property:country ?j }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1085
Q15617994
USER
And which administrative territory?
(Q1085,P17,c(Q15617994))
action filter_type
action find
entity Q1085
relation P17
type Q15617994
['Q1085', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q1085 property:P17 ?p }
Prague
action filter_type
action find
entity Prague
relation country
type designation for an administrative territorial entity
['Prague', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Prague property:country ?p }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q1085,P17,c(Q15617994))
action filter_type
action find
entity Q1085
relation P17
type Q15617994
[ANSWER]
['Q1085', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q1085 property:P17 ?p }
Czech Republic
Czech Republic
action filter_type
action find
entity Prague
relation country
type designation for an administrative territorial entity
['Prague', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Prague property:country ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q213 Q155880
P6
Q502895
USER
Is that administrative territory the head of goverment of Mirek Topolánek ?
(Q213,P6,Q155880)
action is_in
entity Q155880
action find
entity Q213
relation P6
['Q213', 'P6', 'Q155880']
ASK WHERE { resource:Q213 property:P6 resource:Q155880 }
Czech Republic Mirek Topolánek
action is_in
entity Mirek Topolánek
action find
entity Czech Republic
relation head of government
['Czech Republic', 'head of government', 'Mirek Topolánek']
ASK WHERE { resource:Czech_Republic property:head_of_government resource:Mirek_Topolánek }
[]
common name
SYSTEM
YES
(Q213,P6,Q155880)
action is_in
entity Q155880
action find
entity Q213
relation P6
[ANSWER]
['Q213', 'P6', 'Q155880']
ASK WHERE { resource:Q213 property:P6 resource:Q155880 }
Yes
action is_in
entity Mirek Topolánek
action find
entity Czech Republic
relation head of government
['Czech Republic', 'head of government', 'Mirek Topolánek']
ASK WHERE { resource:Czech_Republic property:head_of_government resource:Mirek_Topolánek }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that administrative territory ?
action filter_type
action find
entity Q213
relation P1313
type Q12737077
SELECT DISTINCT ?m WHERE { resource:Q213 property:P1313 ?m . ?m rdf:type ontology:Q12737077 }
Czech Republic
action filter_type
action find
entity Czech Republic
relation office held by head of government
type occupation
SELECT DISTINCT ?m WHERE { resource:Czech_Republic property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q3409229
SYSTEM
Prime Minister of the Czech Republic
Q3409229
action filter_type
action find
entity Q213
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
SELECT DISTINCT ?m WHERE { resource:Q213 property:P1313 ?m . ?m rdf:type ontology:Q12737077 }
Prime Minister of the Czech Republic
The Prime Minister of the Czech Republic serves as the political office that is fulfilled by the head of the government of that administrative territory
Prime Minister of the Czech Republic
action filter_type
action find
entity Czech Republic
relation office held by head of government
type occupation
SELECT DISTINCT ?m WHERE { resource:Czech_Republic property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3409229
P361
Q35798
USER
Which executive branch is that occupation a component of ?
(Q3409229,P361,c(Q35798))
action filter_type
action find
entity Q3409229
relation P361
type Q35798
['Q3409229', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?z WHERE { resource:Q3409229 property:P361 ?z . ?z rdf:type ontology:Q35798 }
Prime Minister of the Czech Republic
action filter_type
action find
entity Prime Minister of the Czech Republic
relation part of
type executive branch
['Prime Minister of the Czech Republic', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?z WHERE { resource:Prime_Minister_of_the_Czech_Republic property:part_of ?z . ?z rdf:type ontology:executive_branch }
[]
executive branch
Q5015587
SYSTEM
Government of the Czech Republic
Q5015587
(Q3409229,P361,c(Q35798))
action filter_type
action find
entity Q3409229
relation P361
type Q35798
The [ANSWER] is that occupation a component of
['Q3409229', 'P361', {'concept': 'Q35798'}]
SELECT DISTINCT ?z WHERE { resource:Q3409229 property:P361 ?z . ?z rdf:type ontology:Q35798 }
Government of the Czech Republic
The Government of the Czech Republic is that occupation a component of
Government of the Czech Republic
action filter_type
action find
entity Prime Minister of the Czech Republic
relation part of
type executive branch
['Prime Minister of the Czech Republic', 'part of', {'concept': 'executive branch'}]
SELECT DISTINCT ?z WHERE { resource:Prime_Minister_of_the_Czech_Republic property:part_of ?z . ?z rdf:type ontology:executive_branch }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3239798
P361
Q83620 Q83620 Q34442
USER
Which thoroughfares are more number of thoroughfares and roads a component of than Plouaret–Lannion railway ?
(c(Q83620)|c(Q34442),P361,c(Q83620))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q83620
type Q83620
action find_reverse_tuple_counts
relation P361
type Q83620
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q3239798
relation P361
type Q83620
type Q34442
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P361', {'concept': 'Q83620'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?u WHERE { { ?q property:P361 ?u . ?u rdf:type ontology:Q83620 . ?q rdf:type ontology:Q34442 } UNION { ?q property:P361 ?u . ?q rdf:type ontology:Q83620 . ?u rdf:type ontology:Q83620 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P361 resource:Q3239798 . { { ?s rdf:type ontology:Q34442 } UNION { ?s rdf:type ontology:Q83620 } } } } . FILTER ( ?k > ?r ) }
Plouaret–Lannion railway
action greater
action union
action find_reverse_tuple_counts
relation part of
type thoroughfare
type thoroughfare
action find_reverse_tuple_counts
relation part of
type thoroughfare
type road
action count
action filter_multi_types
action find_reverse
entity Plouaret–Lannion railway
relation part of
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'part of', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?u WHERE { { ?q property:part_of ?u . ?u rdf:type ontology:thoroughfare . ?q rdf:type ontology:road } UNION { ?q property:part_of ?u . ?q rdf:type ontology:thoroughfare . ?u rdf:type ontology:thoroughfare } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:part_of resource:Plouaret–Lannion_railway . { { ?s rdf:type ontology:road } UNION { ?s rdf:type ontology:thoroughfare } } } } . FILTER ( ?k > ?r ) }
[]
thoroughfare thoroughfare road
Q25342377 Q410457 Q410063
SYSTEM
Kaptour, U.S. Route 80, U.S. Route 70
Q915161 Q540030 Q2718918 Q387997 Q1375896 Q2175059 Q1074605 Q4648805 Q2174970 Q699601 Q1262066 Q6585966 Q695537 Q803493 Q801908 Q494205 Q2171757 Q3443586 Q801968 Q93472 Q493937 Q2171644 Q315378 Q456594 Q1321545 Q1055550 Q4649129 Q410000 Q1247738 Q25285104 Q987346 Q168020 Q2601395 Q4528 Q1375828 Q410457 Q46622 Q15299699 Q1920250 Q878631 Q5357384 Q16342836 Q1375832 Q409726 Q727638 Q4816645 Q266050 Q802405 Q803488 Q286237 Q1870084 Q1129207 Q803255 Q11535409 Q751771 Q1995013 Q751919 Q410790 Q6963709 Q1073901 Q1544264 Q926976 Q409899 Q819141 Q2174907 Q1771638 Q911135 Q1771632 Q900338 Q1871269 Q6585979 Q912219 Q314396 Q11612031 Q741981 Q389554 Q592509 Q408902 Q16342946 Q782249 Q693493 Q11617608 Q2940230 Q788625 Q370080 Q669854 Q303037 Q5599682 Q2239188 Q2546319 Q1375845 Q7371494 Q410689 Q11433133 Q1478712 Q94150 Q6156701 Q16099545 Q3258965 Q94275 Q1165682 Q11494806 Q877647 Q599910 Q1738798 Q10730354 Q802465 Q94873 Q727626 Q658777 Q1129736 Q2175071 Q1447963 Q25342377 Q2174983 Q846319 Q921422 Q410767 Q93686 Q19604614 Q79914 Q1251243 Q1375933 Q2139467 Q695701 Q314656 Q1157731 Q94624 Q11494516 Q2484569 Q642043 Q4121691 Q12973949 Q989369 Q1750662 Q1073157 Q1375987 Q304864 Q340013 Q674617 Q784392 Q803592 Q4651734 Q1375790 Q1375799 Q754430 Q2494232 Q862476 Q910209 Q6383992 Q7425320 Q7371553 Q741488 Q327162 Q21451085 Q2477727 Q3743699 Q94209 Q609635 Q160249 Q410826 Q15966526 Q1375976 Q1966303 Q1032097 Q443899 Q276570 Q409870 Q2431123 Q18338302 Q687438 Q2604283 Q802305 Q2171637 Q7371459 Q659345 Q10487638 Q13015462 Q386217 Q905811 Q367909 Q410975 Q386495 Q13585359 Q94639 Q803581 Q313410 Q313416 Q2728829 Q12806600 Q2962401 Q945810 Q16920520 Q1249539 Q5098655 Q322164 Q846524 Q986630 Q16145296 Q918092 Q989339 Q410063
(c(Q83620)|c(Q34442),P361,c(Q83620))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q83620
type Q83620
action find_reverse_tuple_counts
relation P361
type Q83620
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q3239798
relation P361
type Q83620
type Q34442
[ANSWERS] are more number of thoroughfares and roads a component of than Plouaret–Lannion railway
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P361', {'concept': 'Q83620'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?u WHERE { { ?q property:P361 ?u . ?u rdf:type ontology:Q83620 . ?q rdf:type ontology:Q34442 } UNION { ?q property:P361 ?u . ?q rdf:type ontology:Q83620 . ?u rdf:type ontology:Q83620 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P361 resource:Q3239798 . { { ?s rdf:type ontology:Q34442 } UNION { ?s rdf:type ontology:Q83620 } } } } . FILTER ( ?k > ?r ) }
Beijing–Shanghai Railway Berlin–Hamburg Railway European route E264 AH11 European route E462 U.S. Route 281 Beijing–Harbin Railway A10 road U.S. Route 183 European route E31 Illawarra Highway Southern Line European route E61 Wittenberge–Buchholz railway Bassum–Herford railway AH1 Oklahoma State Highway 1 Alberta Highway 14 Bielefeld–Hameln railway Interstate 15 AH6 Interstate 44 in Oklahoma East Rhine Railway North Sea Cycle Route European route E105 Japan National Route 7 A3220 road U.S. Route 64 European route E13 AH31 European route E20 European route E60 N7 road Mountain Railways of India European route E19 U.S. Route 80 controlled-access highway Lecco–Brescia railway European route E411 Lower Left Rhine Railway Japan National Route 21 Highway 1 European route E24 U.S. Route 50 AH2 U.S. Route 221 AH3 Haltern–Venlo railway Gelsenkirchen-Bismarck–Winterswijk railway Finnish national road 23 A60 motorway European route E8 St. Michaelisdonn–Friedrichskoog railway Tochigi Prefectural Road Route 19 European route E01 European route E262 Llanberis Pass U.S. Route 93 Nanjing–Tongling Railway Kunming–Bangkok Expressway Great Eastern Highway European route E85 U.S. Route 56 European route E34 U.S. Route 177 N11 road European route E65 N8 road Japan National Route 25 European route E751 Northeastern Line Jōetsu Shinkansen West Rhine Railway Satoyama Kaido Wrocław Świebodzki–Zgorzelec railway Transilien European route E57 U.S. Route 26 Highway 1 European route E4 European route E05 Ibaraki Prefectural Road Route 19 Carretera Marginal de la Selva Quebec Autoroute 40 European route E90 European route E314 U.S. Route 6 Great Northern Route Silesian Mountain Railway Groene Kruisweg European route E263 Route 5 U.S. Route 83 N40 road Princes Highway Interstate 35 Japan National Route 101 National Highway 45 London Inner Ring Road Interstate 44 European route E95 Aichi Prefectural Road Route 6 European route E80 European route E42 Kennedy Highway AH14 Husum–Bad St. Peter-Ording railway Interstate 80 AH12 European route E233 U.S. Route 50 in Ohio U.S. Route 283 U.S. Route 395 Kaptour U.S. Route 259 Shanghai–Wuhan–Chengdu High-Speed Railway European route E06 U.S. Route 91 Interstate 20 Hanover–Hamm railway line Interstate 10 Thames Embankment European route E63 U.S. Route 287 Finnish national road 13 European route E28 Trans–West African Coastal Highway Interstate 69 Aichi Prefectural Road Route 265 Minnesota State Highway 51 European route E16 Route 1 AH34 West Rail Line Pacific Motorway U.S. Route 41 in Illinois European route E73 Highway 1 canals of Amsterdam European route E59 European route E97 Řetenice–Liberec railway line AH42 European route E115 European route E117 European route E67 Oregon Route 422 European route E15 Guangzhou–Shenzhen–Hong Kong Express Rail Link Tai Po Road Saskatchewan Highway 40 Route 9 European route E70 European route E40 Węgliniec–Görlitz railway line European route E272 Dublin–Westport/Galway railway line Interstate 40 AH7 European route E30 U.S. Route 95 AH70 European route E71 A4 road Finnish national road 9 Altona–Blankenese railway European route E45 U.S. Route 54 Arkansas Highway 88 Ducherow–Heringsdorf railway line European route E50 European route E653 Fröndenberg–Kamen railway Interstate 40 in Oklahoma Route 4 European route E25 Erik Dahlbergsgatan Northern Line (Thailand) China National Highway 102 Beijing–Guangzhou–Shenzhen–Hong Kong High-Speed Railway M50 motorway U.S. Route 412 Ōu Main Line High Speed Line Schiphol - Antwerp Interstate 71 Praha–Česká Třebová railway line European route E55 European route E35 European route E265 Green avenue Rhaetian Railway in the Albula / Bernina Landscapes European route E18 AH65 A3 Chile Route 5 European route E22 Shanghai–Kunming High-Speed Railway Shanghai–Kunming Railway Ibaraki Prefectural Road and Chiba Prefectural Road Route 162 European route E77 East Rail Line U.S. Route 70
Kaptour, U.S. Route 80 and U.S. Route 70 are more number of thoroughfares and roads a component of than Plouaret–Lannion railway
Kaptour U.S. Route 80 U.S. Route 70
action greater
action union
action find_reverse_tuple_counts
relation part of
type thoroughfare
type thoroughfare
action find_reverse_tuple_counts
relation part of
type thoroughfare
type road
action count
action filter_multi_types
action find_reverse
entity Plouaret–Lannion railway
relation part of
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'part of', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?u WHERE { { ?q property:part_of ?u . ?u rdf:type ontology:thoroughfare . ?q rdf:type ontology:road } UNION { ?q property:part_of ?u . ?q rdf:type ontology:thoroughfare . ?u rdf:type ontology:thoroughfare } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:part_of resource:Plouaret–Lannion_railway . { { ?s rdf:type ontology:road } UNION { ?s rdf:type ontology:thoroughfare } } } } . FILTER ( ?k > ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q599910
P361
Q83620 Q83620 Q34442
USER
And also tell me about European route E42?
(c(Q83620)|c(Q34442),P361,c(Q83620))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q83620
type Q83620
action find_reverse_tuple_counts
relation P361
type Q83620
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q599910
relation P361
type Q83620
type Q34442
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P361', {'concept': 'Q83620'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:P361 ?q . ?q rdf:type ontology:Q83620 . ?z rdf:type ontology:Q83620 } UNION { ?z property:P361 ?q . ?q rdf:type ontology:Q83620 . ?z rdf:type ontology:Q34442 } } GROUP BY ?q } . FILTER ( ?v > ?u ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:P361 resource:Q599910 . { { ?y rdf:type ontology:Q83620 } UNION { ?y rdf:type ontology:Q34442 } } } } }
European route E42
action greater
action union
action find_reverse_tuple_counts
relation part of
type thoroughfare
type thoroughfare
action find_reverse_tuple_counts
relation part of
type thoroughfare
type road
action count
action filter_multi_types
action find_reverse
entity European route E42
relation part of
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'part of', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:part_of ?q . ?q rdf:type ontology:thoroughfare . ?z rdf:type ontology:thoroughfare } UNION { ?z property:part_of ?q . ?q rdf:type ontology:thoroughfare . ?z rdf:type ontology:road } } GROUP BY ?q } . FILTER ( ?v > ?u ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:part_of resource:European_route_E42 . { { ?y rdf:type ontology:thoroughfare } UNION { ?y rdf:type ontology:road } } } } }
[]
thoroughfare thoroughfare road
Q494205 Q727638 Q911135
SYSTEM
AH1, AH2, European route E65
Q695537 Q494205 Q493937 Q2171644 Q987346 Q1375828 Q727638 Q266050 Q803255 Q1995013 Q1544264 Q911135 Q741981 Q389554 Q693493 Q669854 Q2546319 Q1478712 Q3258965 Q877647 Q314656 Q304864 Q340013 Q674617 Q803592 Q4651734 Q754430 Q862476 Q741488 Q2477727 Q160249 Q1375976 Q659345 Q313410 Q5098655 Q322164 Q918092
(c(Q83620)|c(Q34442),P361,c(Q83620))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q83620
type Q83620
action find_reverse_tuple_counts
relation P361
type Q83620
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q599910
relation P361
type Q83620
type Q34442
[ANSWERS]
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P361', {'concept': 'Q83620'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:P361 ?q . ?q rdf:type ontology:Q83620 . ?z rdf:type ontology:Q83620 } UNION { ?z property:P361 ?q . ?q rdf:type ontology:Q83620 . ?z rdf:type ontology:Q34442 } } GROUP BY ?q } . FILTER ( ?v > ?u ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:P361 resource:Q599910 . { { ?y rdf:type ontology:Q83620 } UNION { ?y rdf:type ontology:Q34442 } } } } }
European route E61 AH1 AH6 Interstate 44 in Oklahoma European route E20 European route E19 AH2 AH3 St. Michaelisdonn–Friedrichskoog railway European route E262 Great Eastern Highway European route E65 Wrocław Świebodzki–Zgorzelec railway Transilien European route E05 European route E314 Groene Kruisweg Princes Highway London Inner Ring Road European route E80 European route E28 Highway 1 canals of Amsterdam European route E59 Řetenice–Liberec railway line AH42 European route E67 European route E15 European route E70 European route E272 European route E30 European route E71 European route E25 European route E55 Chile Route 5 European route E22 European route E77
AH1 AH2 European route E65
action greater
action union
action find_reverse_tuple_counts
relation part of
type thoroughfare
type thoroughfare
action find_reverse_tuple_counts
relation part of
type thoroughfare
type road
action count
action filter_multi_types
action find_reverse
entity European route E42
relation part of
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'part of', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:part_of ?q . ?q rdf:type ontology:thoroughfare . ?z rdf:type ontology:thoroughfare } UNION { ?z property:part_of ?q . ?q rdf:type ontology:thoroughfare . ?z rdf:type ontology:road } } GROUP BY ?q } . FILTER ( ?v > ?u ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:part_of resource:European_route_E42 . { { ?y rdf:type ontology:thoroughfare } UNION { ?y rdf:type ontology:road } } } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q30 Q33946
P27
Q502895
USER
Which people are a citizen of Czechoslovakia and United States of America ?
AND((c(Q502895),P27,Q33946), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q33946
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q33946'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?y WHERE { ?y property:P27 resource:Q30 . ?y property:P27 resource:Q33946 . ?y rdf:type ontology:Q502895 }
United States of America Czechoslovakia
action filter_type
action intersection
action find_reverse
entity Czechoslovakia
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Czechoslovakia'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?y WHERE { ?y property:country_of_citizenship resource:United_States_of_America . ?y property:country_of_citizenship resource:Czechoslovakia . ?y rdf:type ontology:common_name }
[]
common name
Q438608 Q4256995 Q47085 Q242351 Q51525 Q440857 Q4452771 Q1403675 Q1469197 Q182736
SYSTEM
Some of them are Vera Ralston, Kurt Lehovec, Olga Fikotová, Ivana Trump, Miloš Forman, Alena Vrzáňová, Jan Tauc, Felix Haurowitz, György Ács, Ivan Lendl
Q51525 Q1508082 Q4256995 Q1348071 Q54545 Q37030 Q2718582 Q77454 Q1403675 Q606173 Q7792057 Q224466 Q174438 Q242351 Q2996846 Q4452771 Q182736 Q440857 Q78501 Q204733 Q168999 Q438608 Q47085 Q1469197
AND((c(Q502895),P27,Q33946), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q33946
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] are a citizen of Czechoslovakia and United States of America
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q33946'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?y WHERE { ?y property:P27 resource:Q30 . ?y property:P27 resource:Q33946 . ?y rdf:type ontology:Q502895 }
Miloš Forman George Placzek Kurt Lehovec Jan Tříska Martina Navratilova Thomas Mann Hugh Iltis Karl Deutsch Felix Haurowitz Gregory Žatkovich Thomas M. Messer Miroslav Zajonc Madeleine Albright Ivana Trump Catherine Breshkovsky Jan Tauc Ivan Lendl Alena Vrzáňová Carl Ferdinand Cori Gerty Cori Zdeněk Kopal Vera Ralston Olga Fikotová György Ács
Vera Ralston, Kurt Lehovec, Olga Fikotová, Ivana Trump, Miloš Forman, Alena Vrzáňová, Jan Tauc, Felix Haurowitz, György Ács and Ivan Lendl are a citizen of Czechoslovakia and United States of America
Vera Ralston Kurt Lehovec Olga Fikotová Ivana Trump Miloš Forman Alena Vrzáňová Jan Tauc Felix Haurowitz György Ács Ivan Lendl
action filter_type
action intersection
action find_reverse
entity Czechoslovakia
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Czechoslovakia'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?y WHERE { ?y property:country_of_citizenship resource:United_States_of_America . ?y property:country_of_citizenship resource:Czechoslovakia . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q152002
P921
Q12737077 Q191067 Q732577
USER
Which occupations were the main subjects in the work less number of articles and publications than pastor ?
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q152002
relation P921
type Q191067
type Q732577
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P921 resource:Q152002 . { VALUES ( ?k ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } . ?i rdf:type ?k } } } . FILTER ( ?s < ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?s ) WHERE { VALUES ( ?m ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } . ?x rdf:type ?m } GROUP BY ?z } }
pastor
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity pastor
relation main subject
type article
type publication
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:main_subject resource:pastor . { VALUES ( ?k ) { ( ontology:article ) ( ontology:publication ) } . ?i rdf:type ?k } } } . FILTER ( ?s < ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?s ) WHERE { VALUES ( ?m ) { ( ontology:article ) ( ontology:publication ) } . ?x rdf:type ?m } GROUP BY ?z } }
[]
occupation article publication
Q131512 Q42973 Q16707842
SYSTEM
farmer, architect, Member of Parliament in the United Kingdom
Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q9402 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q1114448 Q16533 Q18220900 Q936969 Q16746569 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q152002
relation P921
type Q191067
type Q732577
[ANSWERS] were the main subjects in the work less number of articles and publications than pastor
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P921 resource:Q152002 . { VALUES ( ?k ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } . ?i rdf:type ?k } } } . FILTER ( ?s < ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?s ) WHERE { VALUES ( ?m ) { ( ontology:Q191067 ) ( ontology:Q732577 ) } . ?x rdf:type ?m } GROUP BY ?z } }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist actor writer surgeon Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate ninja taxi driver businessperson gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier bishop member of parliament violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist cartoonist judge Member of the South Australian House of Assembly nanny high school student caricaturist painter American football player legal profession composer rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician poet medical examiner police officer aviator statesman political scientist cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Farmer, architect and Member of Parliament in the United Kingdom were the main subjects in the work less number of articles and publications than pastor
farmer architect Member of Parliament in the United Kingdom
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity pastor
relation main subject
type article
type publication
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:main_subject resource:pastor . { VALUES ( ?k ) { ( ontology:article ) ( ontology:publication ) } . ?i rdf:type ?k } } } . FILTER ( ?s < ?f ) . { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?s ) WHERE { VALUES ( ?m ) { ( ontology:article ) ( ontology:publication ) } . ?x rdf:type ?m } GROUP BY ?z } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2094335
P921
Q12737077 Q191067 Q732577
USER
And how about United States Attorney?
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q2094335
relation P921
type Q191067
type Q732577
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?d ) WHERE { { ?u rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q732577 . ?p property:P921 ?u } UNION { ?p property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q191067 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:P921 resource:Q2094335 . { { ?v rdf:type ontology:Q191067 } UNION { ?v rdf:type ontology:Q732577 } } } } . FILTER ( ?d < ?t ) }
United States Attorney
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity United States Attorney
relation main subject
type article
type publication
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?d ) WHERE { { ?u rdf:type ontology:occupation . ?p rdf:type ontology:publication . ?p property:main_subject ?u } UNION { ?p property:main_subject ?u . ?u rdf:type ontology:occupation . ?p rdf:type ontology:article } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:main_subject resource:United_States_Attorney . { { ?v rdf:type ontology:article } UNION { ?v rdf:type ontology:publication } } } } . FILTER ( ?d < ?t ) }
[]
occupation article publication
Q131512 Q42973 Q16707842
SYSTEM
farmer, architect, Member of Parliament in the United Kingdom
Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q9402 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q1114448 Q16533 Q18220900 Q936969 Q16746569 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q191067)|c(Q732577),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q2094335
relation P921
type Q191067
type Q732577
[ANSWERS]
[[{'concept': 'Q191067'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?d ) WHERE { { ?u rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q732577 . ?p property:P921 ?u } UNION { ?p property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q191067 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:P921 resource:Q2094335 . { { ?v rdf:type ontology:Q191067 } UNION { ?v rdf:type ontology:Q732577 } } } } . FILTER ( ?d < ?t ) }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist actor writer surgeon Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate ninja taxi driver businessperson gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier bishop member of parliament violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist cartoonist judge Member of the South Australian House of Assembly nanny high school student caricaturist painter American football player legal profession composer rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician poet medical examiner police officer aviator statesman political scientist cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
farmer architect Member of Parliament in the United Kingdom
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity United States Attorney
relation main subject
type article
type publication
[[{'concept': 'article'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?d ) WHERE { { ?u rdf:type ontology:occupation . ?p rdf:type ontology:publication . ?p property:main_subject ?u } UNION { ?p property:main_subject ?u . ?u rdf:type ontology:occupation . ?p rdf:type ontology:article } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:main_subject resource:United_States_Attorney . { { ?v rdf:type ontology:article } UNION { ?v rdf:type ontology:publication } } } } . FILTER ( ?d < ?t ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q131512
P39
Q502895
USER
Which person was responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q131512)
action filter_type
action find_reverse
entity Q131512
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q131512']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P39 resource:Q131512 }
farmer
action filter_type
action find_reverse
entity farmer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'farmer']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:position_held resource:farmer }
[]
common name
Clarification for simple ques.
Q131512
SYSTEM
Did you mean farmer ?
Q131512 Q42973 Q16707842
(c(Q502895),P39,Q131512) (c(Q502895),P39,Q42973) (c(Q502895),P39,Q16707842)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q131512'] [{'concept': 'Q502895'}, 'P39', 'Q42973'] [{'concept': 'Q502895'}, 'P39', 'Q16707842']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P39 resource:Q131512 }
farmer architect Member of Parliament in the United Kingdom
Did you mean farmer ?
farmer
[{'concept': 'common name'}, 'position held', 'farmer'] [{'concept': 'common name'}, 'position held', 'architect'] [{'concept': 'common name'}, 'position held', 'Member of Parliament in the United Kingdom']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:position_held resource:farmer }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P39,Q131512)
[{'concept': 'Q502895'}, 'P39', 'Q131512']
[{'concept': 'common name'}, 'position held', 'farmer']
[]
Q6245628
SYSTEM
John Lyon-Dalberg-Acton, 5th Baron Acton
Q6245628
(c(Q502895),P39,Q131512)
action filter_type
action find_reverse
entity Q131512
relation P39
type Q502895
The [ANSWER] was responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q131512']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P39 resource:Q131512 }
John Lyon-Dalberg-Acton, 5th Baron Acton
The John Lyon-Dalberg-Acton, 5th Baron Acton was responsible for occupying the position of that occupation
John Lyon-Dalberg-Acton, 5th Baron Acton
action filter_type
action find_reverse
entity farmer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'farmer']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:position_held resource:farmer }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q131512
P417
Q502895
USER
How many people are the patron saints of farmer ?
(Q131512,P417,c(Q502895))
action count
action filter_type
action find
entity Q131512
relation P417
type Q502895
['Q131512', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h rdf:type ontology:Q502895 . resource:Q131512 property:P417 ?h }
farmer
action count
action filter_type
action find
entity farmer
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h rdf:type ontology:common_name . resource:farmer property:patron_saint ?h }
[]
common name
SYSTEM
5
Q119289 Q166876 Q151967 Q44265 Q43982
(Q131512,P417,c(Q502895))
action count
action filter_type
action find
entity Q131512
relation P417
type Q502895
[ANSWER]
['Q131512', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h rdf:type ontology:Q502895 . resource:Q131512 property:P417 ?h }
Leonard of Port Maurice Isidore of Seville Saint Blaise Benedict of Nursia Bartholomew the Apostle
5
action count
action filter_type
action find
entity farmer
relation patron saint
type common name
['farmer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { ?h rdf:type ontology:common_name . resource:farmer property:patron_saint ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1107406
P417
Q502895
USER
And what about Castle church in Szentendre?
(Q1107406,P417,c(Q502895))
action count
action filter_type
action find
entity Q1107406
relation P417
type Q502895
['Q1107406', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Q1107406 property:P417 ?n . ?n rdf:type ontology:Q502895 }
Castle church in Szentendre
action count
action filter_type
action find
entity Castle church in Szentendre
relation patron saint
type common name
['Castle church in Szentendre', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Castle_church_in_Szentendre property:patron_saint ?n . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q40662
(Q1107406,P417,c(Q502895))
action count
action filter_type
action find
entity Q1107406
relation P417
type Q502895
[ANSWER]
['Q1107406', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Q1107406 property:P417 ?n . ?n rdf:type ontology:Q502895 }
John the Baptist
1
action count
action filter_type
action find
entity Castle church in Szentendre
relation patron saint
type common name
['Castle church in Szentendre', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Castle_church_in_Szentendre property:patron_saint ?n . ?n rdf:type ontology:common_name }
[]