Simple Question (Direct)
Simple Question
Q4390868
P20
Q515
USER
Which city is the place of death of Julián Irízar ?
(Q4390868,P20,c(Q515))
action filter_type
action find
entity Q4390868
relation P20
type Q515
['Q4390868', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q4390868 property:P20 ?q . ?q rdf:type ontology:Q515 }
Julián Irízar
action filter_type
action find
entity Julián Irízar
relation place of death
type city
['Julián Irízar', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Julián_Irízar property:place_of_death ?q . ?q rdf:type ontology:city }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
(Q4390868,P20,c(Q515))
action filter_type
action find
entity Q4390868
relation P20
type Q515
[ANSWER] is the place of death of Julián Irízar
['Q4390868', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q4390868 property:P20 ?q . ?q rdf:type ontology:Q515 }
Buenos Aires
Buenos Aires is the place of death of Julián Irízar
Buenos Aires
action filter_type
action find
entity Julián Irízar
relation place of death
type city
['Julián Irízar', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Julián_Irízar property:place_of_death ?q . ?q rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4390868
P106
Q12737077
USER
Which occupation is the profession of Julián Irízar ?
(Q4390868,P106,c(Q12737077))
action filter_type
action find
entity Q4390868
relation P106
type Q12737077
['Q4390868', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q4390868 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Julián Irízar
action filter_type
action find
entity Julián Irízar
relation occupation
type occupation
['Julián Irízar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Julián_Irízar property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q47064
SYSTEM
military personnel
Q47064
(Q4390868,P106,c(Q12737077))
action filter_type
action find
entity Q4390868
relation P106
type Q12737077
The [ANSWER] is the profession of Julián Irízar
['Q4390868', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q4390868 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
military personnel
The military personnel is the profession of Julián Irízar
military personnel
action filter_type
action find
entity Julián Irízar
relation occupation
type occupation
['Julián Irízar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Julián_Irízar property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4390868
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q47064,P19,c(Q56061))
action filter_type
action find
entity Q4390868
relation P19
type Q56061
['Q47064', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q4390868 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Julián Irízar
action filter_type
action find
entity Julián Irízar
relation place of birth
type administrative territorial entity
['military personnel', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Julián_Irízar property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2145476
SYSTEM
Capilla del Señor
Q2145476
(Q47064,P19,c(Q56061))
action filter_type
action find
entity Q4390868
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q47064', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q4390868 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Capilla del Señor
Capilla del Señor is the place of birth of that person
Capilla del Señor
action filter_type
action find
entity Julián Irízar
relation place of birth
type administrative territorial entity
['military personnel', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Julián_Irízar property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2145476 Q2498099
P19
Q502895
USER
Does Chet Carlisle have location of birth at that administrative territory ?
(Q2498099,P19,Q2145476)
action is_in
entity Q2498099
action find
entity Q2145476
relation P19
['Q2498099', 'P19', 'Q2145476']
ASK WHERE { resource:Q2145476 property:P19 resource:Q2498099 }
Capilla del Señor Chet Carlisle
action is_in
entity Chet Carlisle
action find
entity Capilla del Señor
relation place of birth
['Chet Carlisle', 'place of birth', 'Capilla del Señor']
ASK WHERE { resource:Capilla_del_Señor property:place_of_birth resource:Chet_Carlisle }
[]
common name
SYSTEM
NO
(Q2498099,P19,Q2145476)
action is_in
entity Q2498099
action find
entity Q2145476
relation P19
[ANSWER]
['Q2498099', 'P19', 'Q2145476']
ASK WHERE { resource:Q2145476 property:P19 resource:Q2498099 }
No
action is_in
entity Chet Carlisle
action find
entity Capilla del Señor
relation place of birth
['Chet Carlisle', 'place of birth', 'Capilla del Señor']
ASK WHERE { resource:Capilla_del_Señor property:place_of_birth resource:Chet_Carlisle }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2145476
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
action filter_type
action find
entity Q2145476
relation P17
type Q15617994
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q2145476 property:P17 ?r }
Capilla del Señor
action filter_type
action find
entity Capilla del Señor
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Capilla_del_Señor property:country ?r }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
action filter_type
action find
entity Q2145476
relation P17
type Q15617994
That administrative territory is located in [ANSWER]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q2145476 property:P17 ?r }
Argentina
That administrative territory is located in Argentina
Argentina
action filter_type
action find
entity Capilla del Señor
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Capilla_del_Señor property:country ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26416981
P1435
Q41176
USER
Which building is the heritage status of 89, West Street ?
(Q26416981,P1435,c(Q41176))
action filter_type
action find
entity Q26416981
relation P1435
type Q41176
['Q26416981', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?c WHERE { resource:Q26416981 property:P1435 ?c . ?c rdf:type ontology:Q41176 }
89, West Street
action filter_type
action find
entity 89, West Street
relation heritage status
type building
['89, West Street', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?c WHERE { resource:89,_West_Street property:heritage_status ?c . ?c rdf:type ontology:building }
[]
building
Q15700834
SYSTEM
Grade II listed building
Q15700834
(Q26416981,P1435,c(Q41176))
action filter_type
action find
entity Q26416981
relation P1435
type Q41176
' [ANSWER] is the heritage status of 89, West Street
['Q26416981', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?c WHERE { resource:Q26416981 property:P1435 ?c . ?c rdf:type ontology:Q41176 }
Grade II listed building
' Grade II listed building is the heritage status of 89, West Street
Grade II listed building
action filter_type
action find
entity 89, West Street
relation heritage status
type building
['89, West Street', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?c WHERE { resource:89,_West_Street property:heritage_status ?c . ?c rdf:type ontology:building }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26559346
Q41176
USER
And also tell me about Cape Cottage?
(Q26559346,P1435,c(Q41176))
action filter_type
action find
entity Q26559346
relation P1435
type Q41176
['Q26559346', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?m WHERE { resource:Q26559346 property:P1435 ?m . ?m rdf:type ontology:Q41176 }
Cape Cottage
action filter_type
action find
entity Cape Cottage
relation heritage status
type building
['Cape Cottage', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?m WHERE { resource:Cape_Cottage property:heritage_status ?m . ?m rdf:type ontology:building }
[]
building
Q15700834
SYSTEM
Grade II listed building
Q15700834
(Q26559346,P1435,c(Q41176))
action filter_type
action find
entity Q26559346
relation P1435
type Q41176
[ANSWER]
['Q26559346', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?m WHERE { resource:Q26559346 property:P1435 ?m . ?m rdf:type ontology:Q41176 }
Grade II listed building
Grade II listed building
action filter_type
action find
entity Cape Cottage
relation heritage status
type building
['Cape Cottage', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?m WHERE { resource:Cape_Cottage property:heritage_status ?m . ?m rdf:type ontology:building }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q15617994 Q151885 Q502895
USER
Which administrative territories are min number of concepts and people named after ?
(c(Q151885)|c(Q502895),P138,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q151885
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q502895
[[{'concept': 'Q151885'}, {'concept': 'Q502895'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q151885 ) } } GROUP BY ?f } } . FILTER ( ?j = ?x ) . { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?j ) WHERE { VALUES ( ?c ) { ( ontology:Q151885 ) ( ontology:Q502895 ) } . ?q rdf:type ?c } GROUP BY ?y } }
action argmin
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type concept
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type common name
[[{'concept': 'concept'}, {'concept': 'common name'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:common_name ) ( ontology:concept ) } } GROUP BY ?f } } . FILTER ( ?j = ?x ) . { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?j ) WHERE { VALUES ( ?c ) { ( ontology:concept ) ( ontology:common_name ) } . ?q rdf:type ?c } GROUP BY ?y } }
[]
designation for an administrative territorial entity concept common name
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q572949 Q801 Q800 Q103408 Q419 Q81077 Q414 Q1799797 Q55 Q2871 Q490521 Q786 Q40806 Q157598 Q224139 Q3898 Q159 Q155 Q12689 Q52240 Q3476 Q17686 Q46490 Q3372 Q243474 Q7281814 Q549449 Q13376 Q13373 Q42803 Q636991 Q739 Q100125 Q730 Q733 Q6681 Q736 Q12798 Q586072 Q1280 Q1282 Q17827 Q1273 Q913434 Q1279 Q640473 Q189 Q184 Q1028 Q1458 Q570120 Q18421666 Q167215 Q42777 Q159856 Q6274 Q279028 Q2396564 Q53127 Q115 Q114 Q41158 Q626792 Q549749 Q40871 Q43055 Q42509 Q629830 Q1427674 Q53334 Q3922 Q42839 Q7603016 Q42835 Q505191 Q279373 Q3697039 Q58457 Q3326 Q214929 Q627935 Q2719360 Q948 Q42942 Q1243 Q519157 Q3266 Q3105 Q269476 Q33788 Q6122 Q42931 Q80599 Q705 Q539059 Q668 Q185619 Q5084 Q6231 Q660185 Q6237 Q5642 Q99950 Q45 Q792 Q790 Q796 Q21200959 Q794 Q889 Q884 Q12788 Q26727498 Q632209 Q241 Q11340 Q11343 Q585248 Q155622 Q3798 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q39 Q38 Q1023890 Q101226 Q42906 Q40516 Q1987554 Q159626 Q236 Q232 Q129003 Q81729 Q1101 Q1206596 Q3038 Q52981 Q3139 Q514208 Q3468865 Q36784 Q622505 Q555328 Q1037 Q1033 Q1030 Q53873 Q18040 Q3926245 Q697 Q186115 Q39985 Q750 Q50156 Q42749 Q570035 Q540441 Q13137 Q1630 Q2009 Q39912 Q498534 Q40866 Q40862 Q191 Q1435624 Q79 Q769621 Q77 Q46130 Q512943 Q305352 Q192917 Q94979 Q39395 Q176 Q487929 Q478142 Q1951 Q1952 Q536647 Q116706 Q1256 Q40641 Q634084 Q40131 Q102634 Q100368 Q3278 Q19207 Q522459 Q144711 Q712 Q717 Q42993 Q488513 Q243311 Q503160 Q2993085 Q42996 Q954 Q690417 Q826 Q822 Q1142326 Q244095 Q223459 Q42419 Q502434 Q13645 Q155019 Q6986 Q258974 Q1527970 Q107426 Q14943702 Q681329 Q12661 Q20 Q5274 Q28 Q29 Q111460 Q50932 Q20489 Q390125 Q205050 Q581067 Q894049 Q40611 Q161825 Q359324 Q34607 Q223 Q222 Q221 Q229 Q228 Q580447 Q10957559 Q23178 Q968 Q965 Q2152015 Q333389 Q627223 Q2938 Q1210 Q1216 Q503757 Q917 Q916 Q1005 Q573523 Q40497 Q2742 Q1438 Q81740 Q837 Q17669 Q810 Q811 Q813 Q255361 Q819 Q654138 Q81261 Q493437 Q863 Q574429 Q869 Q111543 Q102736 Q269174 Q278221 Q12434 Q20077 Q31872 Q95067 Q95066 Q142 Q53246 Q1948 Q262 Q148 Q157266 Q3319482 Q264620 Q39971 Q73532 Q42626 Q42628 Q499045 Q490167 Q20103 Q10312 Q2009898 Q774 Q42245 Q4431 Q770 Q2596432 Q928 Q19306 Q759201 Q424 Q675616 Q854 Q9574 Q2790 Q566435 Q496885 Q42984 Q552822 Q6998 Q155144 Q645814 Q2139159 Q1041 Q216977 Q489929 Q629664 Q1904 Q393594 Q41003 Q347 Q43046 Q81138 Q17 Q15059063 Q42668 Q3940173 Q4066675 Q138823 Q697787 Q47578 Q11337 Q211 Q159605 Q215 Q1837 Q501626 Q554187 Q23247 Q974 Q971 Q496978 Q23238 Q11119 Q566795 Q631654 Q42192 Q645340 Q9187 Q42926 Q775 Q14870 Q100041 Q1019 Q772 Q1014 Q1016 Q243337 Q42441 Q182248 Q20458 Q20517
(c(Q151885)|c(Q502895),P138,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q151885
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q502895
[ANSWERS] are min number of concepts and people named after
[[{'concept': 'Q151885'}, {'concept': 'Q502895'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:Q502895 ) ( ontology:Q151885 ) } } GROUP BY ?f } } . FILTER ( ?j = ?x ) . { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?j ) WHERE { VALUES ( ?c ) { ( ontology:Q151885 ) ( ontology:Q502895 ) } . ?q rdf:type ?c } GROUP BY ?y } }
Panama Solnhofen Israel Costa Rica Adro Peru Montecorvino Rovella Argentina Wolfskehlen Netherlands Hagen Strausberg Dominican Republic Pedavena Kulmbach Frasso Sabino Castrop-Rauxel Russia Brazil Pas-de-Calais Pontremoli L'Aquila Tortona Arcole Eure Rees Radyr Prince of Orange Pistoia Lucca Olginate Jacobsdorf Colombia Calcio, Lombardy Suriname Paraguay Crotone Ecuador Vendée Chorin Umbria Lazio Moncalvo Tuscany Les Halles Marche Hohenstein Iceland Belarus Morocco Calabria Hollenstedt Loguivy-de-la-Mer Cernusco Lombardone Abbiategrasso Duchy of Brabant Sondrio Simmering Mallee Farra d'Isonzo Ethiopia Kenya Cortina d'Ampezzo Fehrbellin Heinsen Livigno Gorgonzola Bussero Meerfeld Wernborn Remanzacco Detmold Brivio Mitino Calco Leuna Rovereto Crescenzago Caiazzo Corrèze Pitigliano Berkenbrück Duchy of Luxembourg Tunisia Lierna Veneto Templin Charente Vosges Perinaldo New Caledonia Asti Merate Auletta Zeeland Kelbra India Cernusco sul Naviglio hamlet Cremona Huangpu District Lecco Brilon Predappio Portugal El Salvador Haiti Iraq Keroland Iran Afghanistan South Korea Val-de-Marne Mirafiori Basedow Cuba Sprockhövel Wetter (Ruhr) Glienicke/Nordbahn Bernkastel-Kues Flensburg Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Switzerland Italy Huangpu District Mapello Cologno Monzese Bormio Nieder-Roden Württemberg Montenegro Kazakhstan French Southern and Antarctic Lands Radeberg North Brabant Deux-Nèthes Helgoland Faenza Alpes-Maritimes Jettenbach Tõravere region of France Rauen Urmitz Rwanda Nigeria Namibia Diamante Candelo QT8 Nauru Montmartre Brugherio Bolivia Secinaro Paderno d'Adda Hillesheim Tautenburg Teramo Altona Yukon Usmate Velate Diepholz Giussano Saronno Estonia Yasnaya Polyana Egypt Sanshui District Uruguay Rhône Sailauf Aban Erice Pianoro Sovico Quebec Milazzo Schierstein Alberta Nova Scotia Dassow Ceccano Liguria Macherio Trebur Chiavenna Monsummano Terme Cisano Bergamasco Charente-Maritime Canosio Bad Harzburg Ettringen Fiji Venezuela Gessate Anklam Sacrofano Wolfratshausen Levashovo, Saint Petersburg Pero Zimbabwe Währing Maldives Lebanon Seine Bellagio Borbona Vimodrone Sangerhausen Tempio Pausania Duchy of Lorraine Gotha Bitburg Ober-Roden Anjou Sprendlingen Dümmer Nord Norway Balve Hungary Spain Pontevico Helpt Savigliano Linz am Rhein Geilenkirchen Britz Borodino (village), Mozhaysky District, Moscow Oblast Casteggio Daun Admont Este Greenland Albania Republic of Macedonia Cyprus Andorra Duchy of Styria Moldavia Bisceglie Warburg Burkina Faso Riedelbach Palau Briesen Leverkusen Lombardy Piedmont Oberammergau Bhutan Angola Gambia Flechtingen Carnate Münster Campania Lauta Nepal Serravalle Scrivia Jordan Nicaragua Kyrgyzstan Werfen Laos Rhede, Lower Saxony Rudersberg Arneburg Tajikistan Seeheim-Jugenheim Thailand Provaglio d'Iseo San Marcello Pistoiese Worpswede Berchtesgaden Bad Honnef Werdau Moosburg an der Isar Ambivere Alzano Lombardo France Codroipo Manitoba Algeria People's Republic of China Sternberg Molegbe Garching bei München Gela Ruhpolding Vercurago Robbiate Sinagra, Sicily Pielenhofen Assisi Tavagnasco Oberhöchstadt Guatemala Robecco d'Oglio Bad Köstritz Friesland Euvelgunne Philippines Altamura Auerbach Cambodia Langenzersdorf Sri Lanka Pino Torinese Udine Erpel Isnello Turbigo Mecklenburg-Güstrow Freising Alsace-Lorraine Kröpelin Reichenbach Senegal Coreglia Antelminelli Avola Arbesbach Ontario Agia Paraskevi Palestro Liechtenstein Olgiate Molgora Nocera Inferiore Japan Kellaways Pudost Rogoredo Annino Farnese, Lazio Duchy of Limburg Vittorio Veneto Herdecke Latvia Tivoli Slovenia Wohldorf-Ohlstedt Wildeshausen Lunden Belgirate Democratic Republic of the Congo Republic of the Congo Roccapalumba Baveno Warstein Schalkenmehren Selent San Donato Milanese Brenk Carmagnola Calolziocorte Gelderland Siegburg Carpi Madagascar Drenthe Liberia Libya Issum Cassina de' Pecchi Nordwalde Gubbio Treiso
Italy, Brazil and United States of America are min number of concepts and people named after
Italy Brazil United States of America
action argmin
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type concept
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type common name
[[{'concept': 'concept'}, {'concept': 'common name'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ?w . VALUES ( ?w ) { ( ontology:common_name ) ( ontology:concept ) } } GROUP BY ?f } } . FILTER ( ?j = ?x ) . { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?j ) WHERE { VALUES ( ?c ) { ( ontology:concept ) ( ontology:common_name ) } . ?q rdf:type ?c } GROUP BY ?y } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1644852
P530
Q1048835
USER
Do La Puebla de Híjar have diplomatic relations with those administrative territories ?
(Q1644852,P530,Q38) (Q1644852,P530,Q155) (Q1644852,P530,Q30)
action is_in
entity prev_answer
action find
entity Q1644852
relation P530
['Q1644852', 'P530', 'Q38'] ['Q1644852', 'P530', 'Q155'] ['Q1644852', 'P530', 'Q30']
ASK WHERE { VALUES ( ?e ) { ( resource:Q804 ) ( resource:Q572949 ) ( resource:Q801 ) } . resource:Q1644852 property:P530 ?e }
La Puebla de Híjar
action is_in
entity prev_answer
action find
entity La Puebla de Híjar
relation diplomatic relation
['La Puebla de Híjar', 'diplomatic relation', 'Italy'] ['La Puebla de Híjar', 'diplomatic relation', 'Brazil'] ['La Puebla de Híjar', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?e ) { ( resource:Panama ) ( resource:Solnhofen ) ( resource:Israel ) } . resource:La_Puebla_de_Híjar property:diplomatic_relation ?e }
[]
political territorial entity
SYSTEM
NO
(Q1644852,P530,Q38) (Q1644852,P530,Q155) (Q1644852,P530,Q30)
action is_in
entity prev_answer
action find
entity Q1644852
relation P530
[ANSWER]
['Q1644852', 'P530', 'Q38'] ['Q1644852', 'P530', 'Q155'] ['Q1644852', 'P530', 'Q30']
ASK WHERE { VALUES ( ?e ) { ( resource:Q804 ) ( resource:Q572949 ) ( resource:Q801 ) } . resource:Q1644852 property:P530 ?e }
No
action is_in
entity prev_answer
action find
entity La Puebla de Híjar
relation diplomatic relation
['La Puebla de Híjar', 'diplomatic relation', 'Italy'] ['La Puebla de Híjar', 'diplomatic relation', 'Brazil'] ['La Puebla de Híjar', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?e ) { ( resource:Panama ) ( resource:Solnhofen ) ( resource:Israel ) } . resource:La_Puebla_de_Híjar property:diplomatic_relation ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P559
Q56061 Q44377 Q628179
USER
How many administrative territories serve as the endpoint for around 2 tunnels or trails ?
(c(Q44377)|c(Q628179),P559,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
value 2
[[{'concept': 'Q44377'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { FILTER ( ?u = 2 ) . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?u ) WHERE { { ?e property:P559 ?n . ?n rdf:type ontology:Q56061 . ?e rdf:type ontology:Q44377 } UNION { ?e property:P559 ?n . ?e rdf:type ontology:Q628179 . ?n rdf:type ontology:Q56061 } } GROUP BY ?n } }
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
value 2
[[{'concept': 'tunnel'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { FILTER ( ?u = 2 ) . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?u ) WHERE { { ?e property:terminus ?n . ?n rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:tunnel } UNION { ?e property:terminus ?n . ?e rdf:type ontology:trail . ?n rdf:type ontology:administrative_territorial_entity } } GROUP BY ?n } }
[]
administrative territorial entity tunnel trail
SYSTEM
2
Q69639 Q172157
(c(Q44377)|c(Q628179),P559,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
value 2
[ANSWER]
[[{'concept': 'Q44377'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { FILTER ( ?u = 2 ) . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?u ) WHERE { { ?e property:P559 ?n . ?n rdf:type ontology:Q56061 . ?e rdf:type ontology:Q44377 } UNION { ?e property:P559 ?n . ?e rdf:type ontology:Q628179 . ?n rdf:type ontology:Q56061 } } GROUP BY ?n } }
Göschenen Winchester
2
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
value 2
[[{'concept': 'tunnel'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { FILTER ( ?u = 2 ) . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?u ) WHERE { { ?e property:terminus ?n . ?n rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:tunnel } UNION { ?e property:terminus ?n . ?e rdf:type ontology:trail . ?n rdf:type ontology:administrative_territorial_entity } } GROUP BY ?n } }
[]