Simple Question (Direct)
Simple Question
Q7149860
P1303
Q34379
USER
Which musical instrument can Paul Clarvis perform with ?
(Q7149860,P1303,c(Q34379))
action filter_type
action find
entity Q7149860
relation P1303
type Q34379
['Q7149860', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { resource:Q7149860 property:P1303 ?n . ?n rdf:type ontology:Q34379 }
Paul Clarvis
action filter_type
action find
entity Paul Clarvis
relation instrument
type musical instrument
['Paul Clarvis', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { resource:Paul_Clarvis property:instrument ?n . ?n rdf:type ontology:musical_instrument }
[]
musical instrument
Q128309
SYSTEM
drum kit
Q128309
(Q7149860,P1303,c(Q34379))
action filter_type
action find
entity Q7149860
relation P1303
type Q34379
Paul Clarvis can perform a [ANSWER]
['Q7149860', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { resource:Q7149860 property:P1303 ?n . ?n rdf:type ontology:Q34379 }
drum kit
Paul Clarvis can perform a drum kit
drum kit
action filter_type
action find
entity Paul Clarvis
relation instrument
type musical instrument
['Paul Clarvis', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { resource:Paul_Clarvis property:instrument ?n . ?n rdf:type ontology:musical_instrument }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7149860
P21
Q290
USER
Which sex does Paul Clarvis have ?
(Q7149860,P21,c(Q290))
action filter_type
action find
entity Q7149860
relation P21
type Q290
['Q7149860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q7149860 property:P21 ?d . ?d rdf:type ontology:Q290 }
Paul Clarvis
action filter_type
action find
entity Paul Clarvis
relation gender
type sex
['Paul Clarvis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Paul_Clarvis property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7149860,P21,c(Q290))
action filter_type
action find
entity Q7149860
relation P21
type Q290
Paul Clarvis has 1 [ANSWER]
['Q7149860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q7149860 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
Paul Clarvis has 1 male
male
action filter_type
action find
entity Paul Clarvis
relation gender
type sex
['Paul Clarvis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Paul_Clarvis property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7149860
P27
Q15617994
USER
Which administrative territory is Paul Clarvis an inhabitant of ?
(Q7149860,P27,c(Q15617994))
action filter_type
action find
entity Q7149860
relation P27
type Q15617994
['Q7149860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q7149860 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Paul Clarvis
action filter_type
action find
entity Paul Clarvis
relation country of citizenship
type designation for an administrative territorial entity
['Paul Clarvis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Paul_Clarvis property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7149860,P27,c(Q15617994))
action filter_type
action find
entity Q7149860
relation P27
type Q15617994
[ANSWER] is Paul Clarvis an inhabitant of
['Q7149860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q7149860 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is Paul Clarvis an inhabitant of
United Kingdom
action filter_type
action find
entity Paul Clarvis
relation country of citizenship
type designation for an administrative territorial entity
['Paul Clarvis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Paul_Clarvis property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P30
Q2221906
USER
Where is that administrative territory situated ?
(Q145,P30,c(Q2221906))
action filter_type
action find
entity Q145
relation P30
type Q2221906
['Q145', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q145 property:P30 ?e . ?e rdf:type ontology:Q2221906 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
['United Kingdom', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:United_Kingdom property:continent ?e . ?e rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q145,P30,c(Q2221906))
action filter_type
action find
entity Q145
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q145', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q145 property:P30 ?e . ?e rdf:type ontology:Q2221906 }
Europe
That administrative territory is situated in Europe
Europe
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
['United Kingdom', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:United_Kingdom property:continent ?e . ?e rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q46
P706
Q82794
USER
Where is that geographic location located on ?
(Q46,P706,c(Q82794))
action filter_type
action find
entity Q46
relation P706
type Q82794
['Q46', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?m WHERE { resource:Q46 property:P706 ?m . ?m rdf:type ontology:Q82794 }
Europe
action filter_type
action find
entity Europe
relation located on terrain feature
type geographic region
['Europe', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?m WHERE { resource:Europe property:located_on_terrain_feature ?m . ?m rdf:type ontology:geographic_region }
[]
geographic region
Q39061
SYSTEM
Northern Hemisphere
Q39061
(Q46,P706,c(Q82794))
action filter_type
action find
entity Q46
relation P706
type Q82794
That geographic location is located on the [ANSWER]
['Q46', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?m WHERE { resource:Q46 property:P706 ?m . ?m rdf:type ontology:Q82794 }
Northern Hemisphere
That geographic location is located on the Northern Hemisphere
Northern Hemisphere
action filter_type
action find
entity Europe
relation located on terrain feature
type geographic region
['Europe', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?m WHERE { resource:Europe property:located_on_terrain_feature ?m . ?m rdf:type ontology:geographic_region }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P841
Q186081 Q573 Q502895
USER
Which people have approximately 3 time intervals or days as their principal feast day ?
(c(Q502895),P841,c(Q186081)|c(Q573))
action approx
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
value 3
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ?u . VALUES ( ?u ) { ( ontology:Q186081 ) ( ontology:Q573 ) } } GROUP BY ?b } . FILTER ( ?g = 3 ) }
action approx
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
value 3
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ?u . VALUES ( ?u ) { ( ontology:time_interval ) ( ontology:day ) } } GROUP BY ?b } . FILTER ( ?g = 3 ) }
[]
time interval day common name
Q724454 Q18691847
SYSTEM
Julian of Antioch, Saint Ilar
Q724454 Q18691847
(c(Q502895),P841,c(Q186081)|c(Q573))
action approx
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
value 3
[ANSWERS] have approximately 3 time intervals or days as their principal feast day
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ?u . VALUES ( ?u ) { ( ontology:Q186081 ) ( ontology:Q573 ) } } GROUP BY ?b } . FILTER ( ?g = 3 ) }
Julian of Antioch Saint Ilar
Julian of Antioch and Saint Ilar have approximately 3 time intervals or days as their principal feast day
Julian of Antioch Saint Ilar
action approx
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
value 3
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ?u . VALUES ( ?u ) { ( ontology:time_interval ) ( ontology:day ) } } GROUP BY ?b } . FILTER ( ?g = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q56061 Q17444909 Q2221906
USER
Which geographic locations are a portion of atmost 1 administrative territories or astronomical object types ?
(c(Q2221906),P361,c(Q56061)|c(Q17444909))
action atmost
action union
action find_tuple_counts
relation P361
type Q2221906
type Q56061
action find_tuple_counts
relation P361
type Q2221906
type Q17444909
value 1
[{'concept': 'Q2221906'}, 'P361', [{'concept': 'Q56061'}, {'concept': 'Q17444909'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?k WHERE { { ?k property:P361 ?s . ?k rdf:type ontology:Q2221906 . ?s rdf:type ontology:Q56061 } UNION { ?k property:P361 ?s . ?s rdf:type ontology:Q17444909 . ?k rdf:type ontology:Q2221906 } } GROUP BY ?k } . FILTER ( ?t <= 1 ) }
action atmost
action union
action find_tuple_counts
relation part of
type geographic location
type administrative territorial entity
action find_tuple_counts
relation part of
type geographic location
type astronomical object type
value 1
[{'concept': 'geographic location'}, 'part of', [{'concept': 'administrative territorial entity'}, {'concept': 'astronomical object type'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?k WHERE { { ?k property:part_of ?s . ?k rdf:type ontology:geographic_location . ?s rdf:type ontology:administrative_territorial_entity } UNION { ?k property:part_of ?s . ?s rdf:type ontology:astronomical_object_type . ?k rdf:type ontology:geographic_location } } GROUP BY ?k } . FILTER ( ?t <= 1 ) }
[]
administrative territorial entity astronomical object type geographic location
Q51 Q7080963 Q7080961
SYSTEM
Antarctica, Ohio State University, Newark Campus, Ohio State University, Mansfield Campus
Q20652829 Q20743921 Q3214576 Q14684867 Q7191008 Q325358 Q2419662 Q431907 Q7580722 Q58805 Q14685109 Q3391469 Q315496 Q7209560 Q14684666 Q6550421 Q27509 Q956300 Q126063 Q3048968 Q16680564 Q7784279 Q3047192 Q1496967 Q3468036 Q6398365 Q5259261 Q15206028 Q6084417 Q7268308 Q14324291 Q46 Q213137 Q14714685 Q121359 Q2946756 Q5290039 Q1349167 Q1068071 Q3956460 Q184430 Q3960 Q2036701 Q1234060 Q1737467 Q14685112 Q2249285 Q7996880 Q215680 Q14287866 Q3961951 Q7540974 Q1129992 Q3627664 Q14705212 Q1134503 Q703480 Q1634214 Q14684518 Q3030613 Q896446 Q11708 Q3306046 Q1049115 Q49 Q3333384 Q15211098 Q3593127 Q3242386 Q14713610 Q690971 Q6436607 Q14713596 Q5088912 Q14714846 Q6029137 Q14323356 Q2946746 Q470049 Q3746596 Q266703 Q14705355 Q14294968 Q7080963 Q7080962 Q7080961 Q1413444 Q12612 Q16827917 Q23001306 Q1188034 Q106259 Q3074486 Q20743939 Q164585 Q183324 Q16894244 Q7567991 Q7811491 Q1997843 Q16892114 Q968680 Q3830220 Q7191014 Q11973034 Q4777 Q5506931 Q5597624 Q14713936 Q286476 Q3519009 Q816104 Q3271856 Q14204659 Q15202826 Q3077423 Q575289 Q5051042 Q3781293 Q3476035 Q4442156 Q1156728 Q1762154 Q14684882 Q1051581 Q3503423 Q6922487 Q14704530 Q24694968 Q6367444 Q1998497 Q198927 Q198926 Q14223170 Q155353 Q16868895 Q14711841 Q829767 Q14713790 Q10480343 Q20655529 Q667529 Q3880745 Q2333134 Q1782291 Q4260475 Q190031 Q1555938 Q6269482 Q207520 Q1432092 Q828 Q2364623 Q498794 Q20652757 Q2680496 Q1411784 Q16845327 Q4942152 Q128952 Q27293 Q14714809 Q18869 Q15 Q3922925 Q12409135 Q811979 Q5477842 Q1555247 Q5313947 Q14685140 Q459173 Q473935 Q1439394 Q7418932 Q14709821 Q2017699 Q1130721 Q526644 Q14714818 Q27700889 Q3646551 Q27433 Q5744091 Q854155 Q3382521 Q20743940 Q14685019 Q512573 Q14705314 Q14685159 Q701658 Q1495886 Q1058792 Q4868203 Q5064905 Q6488761 Q2946769 Q771405 Q3539 Q1292279 Q5455002 Q14704540 Q16326607 Q358877 Q3832650 Q7708397 Q390516 Q27275 Q3423535 Q20743937 Q20743945 Q20743944 Q20743943 Q6921525 Q194188 Q681861 Q5411271 Q669037 Q4876461 Q1438691 Q14874585 Q51 Q18048387 Q6649684 Q2160991 Q18752601 Q213704 Q18 Q805727 Q14713886 Q22602 Q5002651 Q4533920 Q14711877 Q4754057 Q81851 Q2015709 Q27496 Q3518514 Q3215913 Q2402047 Q8502 Q538 Q48 Q3555010 Q16892238 Q21491032 Q17197321 Q14684324 Q27561 Q7191015 Q14687288 Q7191011 Q14714702 Q27701408 Q2565366 Q205895 Q6664252 Q6887502 Q4849355 Q183464 Q2066176 Q14951375 Q6101019 Q3214330 Q914711 Q16893544 Q3479940 Q948516 Q15238659 Q15213747 Q702543 Q19603939 Q2879440 Q6159576 Q14685085 Q719456 Q14685083 Q3906785 Q14705259
(c(Q2221906),P361,c(Q56061)|c(Q17444909))
action atmost
action union
action find_tuple_counts
relation P361
type Q2221906
type Q56061
action find_tuple_counts
relation P361
type Q2221906
type Q17444909
value 1
[ANSWERS]
[{'concept': 'Q2221906'}, 'P361', [{'concept': 'Q56061'}, {'concept': 'Q17444909'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?k WHERE { { ?k property:P361 ?s . ?k rdf:type ontology:Q2221906 . ?s rdf:type ontology:Q56061 } UNION { ?k property:P361 ?s . ?s rdf:type ontology:Q17444909 . ?k rdf:type ontology:Q2221906 } } GROUP BY ?k } . FILTER ( ?t <= 1 ) }
Kendjija unda labyrinthus Kokomo Pass Pico El León railway platform chaos terrain Sierra de la Culata Spring Valley Galactic corona Stone Man Pass planitia Upper Harz police area Jones Pass (Colorado) Lincoln-Herndon Law Offices State Historic Site Central Europe tholus Auyantepui Mount Upuigma Tour Percée Thin disk Pico Piedras Blancas territorial entity Pogromni Volcano Keyport Harbor patera Burrage Dome Islip Saddle quadrangle South European Russia Europe East Indies Clayton Mountain infrastructure Cerro Jaua Domen Butte ground station chasma Western Polesie Zeelandic Flanders Australia Santa María la Mayor Riesalb Norital Stony Pass vallis Whittier Narrows tectonic plate Red Sea Coast sinus Slithallet Slope Le Morne Brabant astrum McAfee Peak corona Letoon Volga Region Georgia Pass Thick disk Upland Southeast Asia mensa Galactic anticenter North America Mesogaea Cockedhat Mountain Madeline Island New Territories East Clark Mountain (Washington) Breisgau Kreiling Mesa Big Lava Bed Cheat Mountain Sunbeam Peak Kordoleon Dvinska land and Vazhsky krai Cerro Aracamuni American Highland flexus Salzkammergut Mount Avalon West Coast (Crimea) Ohio State University, Newark Campus Ohio State University, Marion Campus Ohio State University, Mansfield Campus macula Western United States American Legion Peak part of land Pico Humboldt polder flumen satellite feature Turan Transoxiana Little Truckee Summit South Mountain Tobacco Root Mountains North Eifel Harrower Peak Aprada-tepui lenticula Pico La Concha Gray Zone Mount Roraima Fuchs Dome Grassy Ridge West Crater Cerro Marahuaca tessera Belmont Courthouse State Historic Park South Bay Badlands and Black Hills Bold Peak large ringed feature Mühlviertel Cat Island Dubai Studio City scopulus Steppe Crimea domestic roof construction Little Switzerland Lake Pass albedo feature sulcus Mount Oglethorpe Ch-paa-qn Peak Bute Docks Kar Plateau North Eastern Europe Ziel-2-Region Ziel-1-Region Lower Mesopotamia Dornbusch Abo Canyon Mount Powell (Utah) Besengau Lemei Rock Ehrenstrahlsalongen South Pacific Blue Mountains oceanus Kukenán-tepui Sarisariñama medical facility Central Arabia Antarctic Joint Warfare Centre list of regions of Japan rille Americas Dauria crater chain Karapanđa Pasteur Peninsula Western Palatinate Bow Mountain Bonnabeau Dome facula Western Asia Muddy Mountain Caucasus Africa promontorium index mineral architectural structure Fram Mesa North Palatinate Dumont Dunes Vasquez Pass Challenger Deep rift fossa Sans Bois Mountains Bote Mountain Northern America Algodones Dunes pancake dome Pinnacle Ridge normal zero Pico Bonpland Central Africa Herring Bay Bulge Pico El Águila fretum Never Summer Mountains lingula Winnemucca Mountain Webster Pass (Colorado) Mecklenburg Lake District Gau Jom fluctus Basswood Island Cerro Duida Larch Mountain Cerro Socopó South Asia Aircraft Operations Center political border Fishing Bay Deer Lodge Pass Inkerman Bay cavus linea planum control room Central Asia regio arcus virga serpens reticulum Mount Josephine spaceport Nuestra Señora de Loreto Eureka Valley Sand Dunes West Indies Bear Island Fort Rock Basin Custer Ridge Antarctica Central Andes Little Creek Peak Roden Crater fence pillar Pico Bolívar South America Baltics Sawtooth Mountain Vorderpfalz Butler Street Gatehouse Yuzhnaya Bay South Kings Peak Anderson Dome bastion Serranía del Perijá Western Europe terra lacus insula mountain Oceania Asia vastitas Henderson Peak Lower Harz Cherkashchina Boulder-Grand Pass Caribbean Netherlands Pico Pan de Azúcar Reas Pass Pico El Toro Downs Mountain average Mediterranean Sea level in Ajaccio West Hesse Depression landmass Local Sheet Moccasin Gap Bakhallet Slope Livonia rupes Torrey Peak, Wyoming Ix labes transmission tower Knife Point Mountain Serranía de Los Motilones palus Klondike Peak Desolation Peak (Wyoming) Franconian Switzerland building component Chequamegon Bay Jarbidge Mountains Searle Pass station Rogers Pass (Colorado) plume Porter Peak
Antarctica, Ohio State University, Newark Campus and Ohio State University, Mansfield Campus are a portion of atmost 1 administrative territories or astronomical object types
Antarctica Ohio State University, Newark Campus Ohio State University, Mansfield Campus
action atmost
action union
action find_tuple_counts
relation part of
type geographic location
type administrative territorial entity
action find_tuple_counts
relation part of
type geographic location
type astronomical object type
value 1
[{'concept': 'geographic location'}, 'part of', [{'concept': 'administrative territorial entity'}, {'concept': 'astronomical object type'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?k WHERE { { ?k property:part_of ?s . ?k rdf:type ontology:geographic_location . ?s rdf:type ontology:administrative_territorial_entity } UNION { ?k property:part_of ?s . ?s rdf:type ontology:astronomical_object_type . ?k rdf:type ontology:geographic_location } } GROUP BY ?k } . FILTER ( ?t <= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2323750 Q145
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with United Kingdom or are the countries of citizenship of Jairo Patiño ?
OR((Q145,P530,c(Q15617994)), (Q2323750,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q145
relation P530
action find
entity Q2323750
relation P27
type Q15617994
{'OR': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q2323750', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q145 property:P530 ?y } UNION { resource:Q2323750 property:P27 ?y } } . ?y rdf:type ontology:Q15617994 }
Jairo Patiño United Kingdom
action filter_type
action union
action find
entity United Kingdom
relation diplomatic relation
action find
entity Jairo Patiño
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Jairo Patiño', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:United_Kingdom property:diplomatic_relation ?y } UNION { resource:Jairo_Patiño property:country_of_citizenship ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q739 Q805 Q801 Q155 Q37 Q403 Q38
SYSTEM
France, Colombia, Yemen, Israel, Brazil, Lithuania, Serbia, Italy
Q142 Q739 Q805 Q801 Q155 Q37 Q403 Q38
OR((Q145,P530,c(Q15617994)), (Q2323750,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q145
relation P530
action find
entity Q2323750
relation P27
type Q15617994
[ANSWERS] have diplomatic relations with United Kingdom or are the countries of citizenship of Jairo Patiño
{'OR': [['Q145', 'P530', {'concept': 'Q15617994'}], ['Q2323750', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q145 property:P530 ?y } UNION { resource:Q2323750 property:P27 ?y } } . ?y rdf:type ontology:Q15617994 }
France Colombia Yemen Israel Brazil Lithuania Serbia Italy
France, Colombia, Yemen, Israel, Brazil, Lithuania, Serbia and Italy have diplomatic relations with United Kingdom or are the countries of citizenship of Jairo Patiño
France Colombia Yemen Israel Brazil Lithuania Serbia Italy
action filter_type
action union
action find
entity United Kingdom
relation diplomatic relation
action find
entity Jairo Patiño
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Jairo Patiño', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:United_Kingdom property:diplomatic_relation ?y } UNION { resource:Jairo_Patiño property:country_of_citizenship ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q15416 Q201658
USER
How many administrative territories are the origin of greater number of television programs or film genres than that administrative territory ?
(c(Q15416)|c(Q201658),P495,c(Q15617994))
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?i property:P495 ?y . VALUES ( ?i ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?i property:country_of_origin ?y . VALUES ( ?i ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
designation for an administrative territorial entity television program film genre
Comparative|Count over More/Less|Mult. entity type|Clarification
Q142
SYSTEM
Did you mean France ?
(c(Q15416)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?i property:P495 ?y . VALUES ( ?i ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
Did you mean France ?
France
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?i property:country_of_origin ?y . VALUES ( ?i ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Colombia. Could you tell me the answer for that?
(c(Q15416)|c(Q201658),P495,c(Q15617994))
Q739
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
17
Q668 Q414 Q142 Q55 Q145 Q148 Q717 Q155 Q884 Q31 Q30 Q34 Q928 Q38 Q96 Q17 Q29
(c(Q15416)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
India Argentina France Netherlands United Kingdom People's Republic of China Venezuela Brazil South Korea Belgium United States of America Sweden Philippines Italy Mexico Japan Spain
17
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P137
Q2424752
USER
Which products can be described as service operator of France ?
(c(Q2424752),P137,Q142)
action filter_type
action find_reverse
entity Q142
relation P137
type Q2424752
[{'concept': 'Q2424752'}, 'P137', 'Q142']
SELECT DISTINCT ?t WHERE { ?t property:P137 resource:Q142 . ?t rdf:type ontology:Q2424752 }
France
action filter_type
action find_reverse
entity France
relation operator
type product
[{'concept': 'product'}, 'operator', 'France']
SELECT DISTINCT ?t WHERE { ?t property:operator resource:France . ?t rdf:type ontology:product }
[]
product
Q18015706 Q18062054 Q18019508
SYSTEM
Meteor NF13, P-2F Neptune, EMB 121AA Xingu
Q18062054 Q18019508 Q18011199 Q18012302 Q18015706 Q18011186
(c(Q2424752),P137,Q142)
action filter_type
action find_reverse
entity Q142
relation P137
type Q2424752
[ANSWERS] can be described as service operator of France
[{'concept': 'Q2424752'}, 'P137', 'Q142']
SELECT DISTINCT ?t WHERE { ?t property:P137 resource:Q142 . ?t rdf:type ontology:Q2424752 }
P-2F Neptune EMB 121AA Xingu Mirage 2000B Mirage 2000-5F Meteor NF13 Mirage 2000C
Meteor NF13, P-2F Neptune and EMB 121AA Xingu can be described as service operator of France
Meteor NF13 P-2F Neptune EMB 121AA Xingu
action filter_type
action find_reverse
entity France
relation operator
type product
[{'concept': 'product'}, 'operator', 'France']
SELECT DISTINCT ?t WHERE { ?t property:operator resource:France . ?t rdf:type ontology:product }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18015706
P144
Q2424752
USER
Which product is that one based on ?
(Q18015706,P144,c(Q2424752))
action filter_type
action find
entity Q18015706
relation P144
type Q2424752
['Q18015706', 'P144', {'concept': 'Q2424752'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2424752 . resource:Q18015706 property:P144 ?o }
Meteor NF13
action filter_type
action find
entity Meteor NF13
relation based on
type product
['Meteor NF13', 'based on', {'concept': 'product'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:product . resource:Meteor_NF13 property:based_on ?o }
[]
product
Clarification for simple ques.
Q18019508
SYSTEM
Did you mean EMB 121AA Xingu ?
Q18015706 Q18062054 Q18019508
(Q18015706,P144,c(Q2424752)) (Q18062054,P144,c(Q2424752)) (Q18019508,P144,c(Q2424752))
[ANSWER]
['Q18015706', 'P144', {'concept': 'Q2424752'}] ['Q18062054', 'P144', {'concept': 'Q2424752'}] ['Q18019508', 'P144', {'concept': 'Q2424752'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2424752 . resource:Q18015706 property:P144 ?o }
Meteor NF13 P-2F Neptune EMB 121AA Xingu
Did you mean EMB 121AA Xingu ?
EMB 121AA Xingu
['Meteor NF13', 'based on', {'concept': 'product'}] ['P-2F Neptune', 'based on', {'concept': 'product'}] ['EMB 121AA Xingu', 'based on', {'concept': 'product'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:product . resource:Meteor_NF13 property:based_on ?o }
[]
Simple Question (Coreferenced)
USER
No, I meant Meteor NF13. Could you tell me the answer for that?
(Q18015706,P144,c(Q2424752))
Q18015706
['Q18015706', 'P144', {'concept': 'Q2424752'}]
['Meteor NF13', 'based on', {'concept': 'product'}]
[]
Q18015697
SYSTEM
Meteor NF11
Q18015697
(Q18015706,P144,c(Q2424752))
action filter_type
action find
entity Q18015706
relation P144
type Q2424752
[ANSWER]
['Q18015706', 'P144', {'concept': 'Q2424752'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2424752 . resource:Q18015706 property:P144 ?o }
Meteor NF11
Meteor NF11
action filter_type
action find
entity Meteor NF13
relation based on
type product
['Meteor NF13', 'based on', {'concept': 'product'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:product . resource:Meteor_NF13 property:based_on ?o }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q58778 Q553036 Q2221906
USER
Which geographic locations are parts of approximately 1 systems or natural region of Germanys ?
(c(Q2221906),P361,c(Q58778)|c(Q553036))
action approx
action union
action find_tuple_counts
relation P361
type Q2221906
type Q58778
action find_tuple_counts
relation P361
type Q2221906
type Q553036
value 1
[{'concept': 'Q2221906'}, 'P361', [{'concept': 'Q58778'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?q ) WHERE { { ?y property:P361 ?p . ?p rdf:type ontology:Q58778 . ?y rdf:type ontology:Q2221906 } UNION { ?y property:P361 ?p . ?p rdf:type ontology:Q553036 . ?y rdf:type ontology:Q2221906 } } GROUP BY ?y } }
action approx
action union
action find_tuple_counts
relation part of
type geographic location
type system
action find_tuple_counts
relation part of
type geographic location
type natural region of Germany
value 1
[{'concept': 'geographic location'}, 'part of', [{'concept': 'system'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?q ) WHERE { { ?y property:part_of ?p . ?p rdf:type ontology:system . ?y rdf:type ontology:geographic_location } UNION { ?y property:part_of ?p . ?p rdf:type ontology:natural_region_of_Germany . ?y rdf:type ontology:geographic_location } } GROUP BY ?y } }
[]
system natural region of Germany geographic location
Q315496 Q21491032 Q1234060
SYSTEM
Upper Harz, Lower Harz, Riesalb
Q315496 Q1234060 Q1997843 Q194188 Q21491032
(c(Q2221906),P361,c(Q58778)|c(Q553036))
action approx
action union
action find_tuple_counts
relation P361
type Q2221906
type Q58778
action find_tuple_counts
relation P361
type Q2221906
type Q553036
value 1
[ANSWERS] are parts of approximately 1 systems or natural region of Germanys
[{'concept': 'Q2221906'}, 'P361', [{'concept': 'Q58778'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?q ) WHERE { { ?y property:P361 ?p . ?p rdf:type ontology:Q58778 . ?y rdf:type ontology:Q2221906 } UNION { ?y property:P361 ?p . ?p rdf:type ontology:Q553036 . ?y rdf:type ontology:Q2221906 } } GROUP BY ?y } }
Upper Harz Riesalb North Eifel spaceport Lower Harz
Upper Harz, Lower Harz and Riesalb are parts of approximately 1 systems or natural region of Germanys
Upper Harz Lower Harz Riesalb
action approx
action union
action find_tuple_counts
relation part of
type geographic location
type system
action find_tuple_counts
relation part of
type geographic location
type natural region of Germany
value 1
[{'concept': 'geographic location'}, 'part of', [{'concept': 'system'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?y WHERE { FILTER ( ?q = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?q ) WHERE { { ?y property:part_of ?p . ?p rdf:type ontology:system . ?y rdf:type ontology:geographic_location } UNION { ?y property:part_of ?p . ?p rdf:type ontology:natural_region_of_Germany . ?y rdf:type ontology:geographic_location } } GROUP BY ?y } }
[]