Simple Question (Direct)
Simple Question
Q268412
P21
Q290
USER
Which sex does Ignacio Zoco have ?
(Q268412,P21,c(Q290))
action filter_type
action find
entity Q268412
relation P21
type Q290
['Q268412', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q268412 property:P21 ?h . ?h rdf:type ontology:Q290 }
Ignacio Zoco
action filter_type
action find
entity Ignacio Zoco
relation gender
type sex
['Ignacio Zoco', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Ignacio_Zoco property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q268412,P21,c(Q290))
action filter_type
action find
entity Q268412
relation P21
type Q290
Ignacio Zoco has a [ANSWER]
['Q268412', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q268412 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Ignacio Zoco has a male
male
action filter_type
action find
entity Ignacio Zoco
relation gender
type sex
['Ignacio Zoco', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Ignacio_Zoco property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q268412
P27
Q15617994
USER
Which administrative territory is Ignacio Zoco a civilian of ?
(Q268412,P27,c(Q15617994))
action filter_type
action find
entity Q268412
relation P27
type Q15617994
['Q268412', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q268412 property:P27 ?s }
Ignacio Zoco
action filter_type
action find
entity Ignacio Zoco
relation country of citizenship
type designation for an administrative territorial entity
['Ignacio Zoco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ignacio_Zoco property:country_of_citizenship ?s }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q268412,P27,c(Q15617994))
action filter_type
action find
entity Q268412
relation P27
type Q15617994
[ANSWER] is Ignacio Zoco a civilian of
['Q268412', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q268412 property:P27 ?s }
Spain
Spain is Ignacio Zoco a civilian of
Spain
action filter_type
action find
entity Ignacio Zoco
relation country of citizenship
type designation for an administrative territorial entity
['Ignacio Zoco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ignacio_Zoco property:country_of_citizenship ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P112
Q484652
USER
Which international organization was established by that administrative territory ?
(c(Q484652),P112,Q29)
action filter_type
action find_reverse
entity Q29
relation P112
type Q484652
[{'concept': 'Q484652'}, 'P112', 'Q29']
SELECT DISTINCT ?t WHERE { ?t property:P112 resource:Q29 . ?t rdf:type ontology:Q484652 }
Spain
action filter_type
action find_reverse
entity Spain
relation founder
type international organization
[{'concept': 'international organization'}, 'founder', 'Spain']
SELECT DISTINCT ?t WHERE { ?t property:founder resource:Spain . ?t rdf:type ontology:international_organization }
[]
international organization
Q42262
SYSTEM
European Space Agency
Q42262
(c(Q484652),P112,Q29)
action filter_type
action find_reverse
entity Q29
relation P112
type Q484652
[ANSWER] was established by that administrative territory
[{'concept': 'Q484652'}, 'P112', 'Q29']
SELECT DISTINCT ?t WHERE { ?t property:P112 resource:Q29 . ?t rdf:type ontology:Q484652 }
European Space Agency
European Space Agency was established by that administrative territory
European Space Agency
action filter_type
action find_reverse
entity Spain
relation founder
type international organization
[{'concept': 'international organization'}, 'founder', 'Spain']
SELECT DISTINCT ?t WHERE { ?t property:founder resource:Spain . ?t rdf:type ontology:international_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P710
Q1190554
USER
Which events did that administrative territory participate in ?
(c(Q1190554),P710,Q42262)
action filter_type
action find_reverse
entity Q29
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q42262']
SELECT DISTINCT ?e WHERE { ?e property:P710 resource:Q29 . ?e rdf:type ontology:Q1190554 }
Spain
action filter_type
action find_reverse
entity Spain
relation participant
type event
[{'concept': 'event'}, 'participant', 'European Space Agency']
SELECT DISTINCT ?e WHERE { ?e property:participant resource:Spain . ?e rdf:type ontology:event }
[]
event
Q161325 Q1392 Q2889928
SYSTEM
Battle of Ramillies, Battle of Nieuwpoort, Battle of San Marcial
Q4677256 Q161325 Q1392 Q2889928
(c(Q1190554),P710,Q42262)
action filter_type
action find_reverse
entity Q29
relation P710
type Q1190554
That administrative territory participated in [ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q42262']
SELECT DISTINCT ?e WHERE { ?e property:P710 resource:Q29 . ?e rdf:type ontology:Q1190554 }
Action of 14 June 1742 Battle of Ramillies Battle of Nieuwpoort Battle of San Marcial
That administrative territory participated in Battle of Ramillies, Battle of Nieuwpoort and Battle of San Marcial
Battle of Ramillies Battle of Nieuwpoort Battle of San Marcial
action filter_type
action find_reverse
entity Spain
relation participant
type event
[{'concept': 'event'}, 'participant', 'European Space Agency']
SELECT DISTINCT ?e WHERE { ?e property:participant resource:Spain . ?e rdf:type ontology:event }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q529556 Q268412
P1344
Q1375427
USER
Which European Championships did Ignacio Zoco or Ulrich Borowka compete in ?
OR((Q268412,P1344,c(Q1375427)), (Q529556,P1344,c(Q1375427)))
action filter_type
action union
action find
entity Q268412
relation P1344
action find
entity Q529556
relation P1344
type Q1375427
{'OR': [['Q268412', 'P1344', {'concept': 'Q1375427'}], ['Q529556', 'P1344', {'concept': 'Q1375427'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q268412 property:P1344 ?v } UNION { resource:Q529556 property:P1344 ?v } } . ?v rdf:type ontology:Q1375427 }
Ulrich Borowka Ignacio Zoco
action filter_type
action union
action find
entity Ignacio Zoco
relation participant of
action find
entity Ulrich Borowka
relation participant of
type European Championship
{'OR': [['Ignacio Zoco', 'participant of', {'concept': 'European Championship'}], ['Ulrich Borowka', 'participant of', {'concept': 'European Championship'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Ignacio_Zoco property:participant_of ?v } UNION { resource:Ulrich_Borowka property:participant_of ?v } } . ?v rdf:type ontology:European_Championship }
[]
European Championship
Q182205 Q151867
SYSTEM
1964 European Nations' Cup, UEFA Euro 1988
Q182205 Q151867
OR((Q268412,P1344,c(Q1375427)), (Q529556,P1344,c(Q1375427)))
action filter_type
action union
action find
entity Q268412
relation P1344
action find
entity Q529556
relation P1344
type Q1375427
Ignacio Zoco or Ulrich Borowka competed in [ANSWERS]
{'OR': [['Q268412', 'P1344', {'concept': 'Q1375427'}], ['Q529556', 'P1344', {'concept': 'Q1375427'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q268412 property:P1344 ?v } UNION { resource:Q529556 property:P1344 ?v } } . ?v rdf:type ontology:Q1375427 }
1964 European Nations' Cup UEFA Euro 1988
Ignacio Zoco or Ulrich Borowka competed in 1964 European Nations' Cup and UEFA Euro 1988
1964 European Nations' Cup UEFA Euro 1988
action filter_type
action union
action find
entity Ignacio Zoco
relation participant of
action find
entity Ulrich Borowka
relation participant of
type European Championship
{'OR': [['Ignacio Zoco', 'participant of', {'concept': 'European Championship'}], ['Ulrich Borowka', 'participant of', {'concept': 'European Championship'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Ignacio_Zoco property:participant_of ?v } UNION { resource:Ulrich_Borowka property:participant_of ?v } } . ?v rdf:type ontology:European_Championship }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q20857240
P361
Q1190554 Q2221906 Q645883
USER
How many events are approximately the same number of geographic locations or military operations a component of as European migrant crisis ?
(c(Q2221906)|c(Q645883),P361,c(Q1190554))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q2221906
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q645883
action count
action filter_multi_types
action find_reverse
entity Q20857240
relation P361
type Q2221906
type Q645883
[[{'concept': 'Q2221906'}, {'concept': 'Q645883'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?d WHERE { { ?a property:P361 ?d . ?d rdf:type ontology:Q1190554 . ?a rdf:type ontology:Q2221906 } UNION { ?a property:P361 ?d . ?d rdf:type ontology:Q1190554 . ?a rdf:type ontology:Q645883 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:P361 resource:Q20857240 . { { ?f rdf:type ontology:Q2221906 } UNION { ?f rdf:type ontology:Q645883 } } } } . FILTER ( ?k = ?t ) }
European migrant crisis
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type event
type geographic location
action find_reverse_tuple_counts
relation part of
type event
type military operation
action count
action filter_multi_types
action find_reverse
entity European migrant crisis
relation part of
type geographic location
type military operation
[[{'concept': 'geographic location'}, {'concept': 'military operation'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?d WHERE { { ?a property:part_of ?d . ?d rdf:type ontology:event . ?a rdf:type ontology:geographic_location } UNION { ?a property:part_of ?d . ?d rdf:type ontology:event . ?a rdf:type ontology:military_operation } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:part_of resource:European_migrant_crisis . { { ?f rdf:type ontology:geographic_location } UNION { ?f rdf:type ontology:military_operation } } } } . FILTER ( ?k = ?t ) }
[]
event geographic location military operation
SYSTEM
254
Q87138 Q11347454 Q19364861 Q15726688 Q5887669 Q152218 Q716562 Q19870743 Q1458235 Q11663 Q576338 Q287942 Q15833607 Q1245157 Q4709161 Q1093550 Q869045 Q7573442 Q3445341 Q696844 Q49092 Q5685042 Q19362030 Q842774 Q654006 Q1934591 Q2091916 Q683912 Q638530 Q20821272 Q132568 Q737907 Q7569936 Q4126360 Q2334719 Q164348 Q184637 Q2495510 Q221941 Q576292 Q815216 Q250747 Q193603 Q827612 Q15946570 Q186284 Q233505 Q7109930 Q17021072 Q2067876 Q109251 Q5916 Q492126 Q195983 Q16471 Q16470 Q697022 Q737542 Q2408799 Q638608 Q4978527 Q78994 Q4513932 Q4141642 Q217145 Q1765465 Q51661 Q51660 Q392213 Q21030182 Q4743407 Q46857 Q151290 Q1514908 Q1154050 Q151340 Q15013125 Q212658 Q18639147 Q517578 Q830059 Q374814 Q870196 Q523154 Q1136575 Q16146546 Q629965 Q20857240 Q8669 Q1151913 Q952881 Q21482801 Q814235 Q482456 Q174205 Q189508 Q1417059 Q646322 Q572291 Q1647768 Q743776 Q51662 Q19429010 Q138107 Q83055 Q2946372 Q254106 Q7860 Q210714 Q8016240 Q477973 Q916495 Q582584 Q1756029 Q18817 Q7885422 Q1657839 Q3119190 Q1827267 Q714274 Q1144824 Q6644923 Q201676 Q327035 Q430726 Q1340107 Q1225409 Q2704441 Q4366849 Q48314 Q2026016 Q5547987 Q298864 Q223604 Q202161 Q168556 Q18536369 Q605977 Q18378977 Q630259 Q253684 Q19864219 Q18145759 Q28545 Q15303938 Q640100 Q464512 Q7573405 Q8050376 Q7506756 Q2288144 Q151018 Q688308 Q7333201 Q856216 Q829875 Q324438 Q221967 Q239060 Q15553019 Q154031 Q169072 Q1130507 Q202298 Q1134220 Q631795 Q340075 Q464980 Q51656 Q51657 Q150701 Q51655 Q4825628 Q687572 Q3310304 Q673175 Q1758572 Q468293 Q7567350 Q290178 Q7968673 Q164983 Q2889354 Q18606884 Q821283 Q1525846 Q2524228 Q162362 Q3509177 Q153650 Q261776 Q3491709 Q208156 Q154182 Q23687335 Q750567 Q296754 Q51649 Q4825457 Q736268 Q17005775 Q1498028 Q315921 Q315342 Q194132 Q123210 Q1372308 Q4465891 Q476300 Q6449024 Q712461 Q377269 Q847301 Q1993443 Q2649081 Q18326286 Q482090 Q2117576 Q1413732 Q6133239 Q17189951 Q426227 Q51654 Q604897 Q953045 Q21083298 Q6762017 Q27145365 Q18208094 Q1440764 Q426099 Q3769089 Q685683 Q807843 Q696823 Q130861 Q692065 Q235344 Q617333 Q697625 Q165725 Q3778609 Q7127419 Q2761147 Q417744 Q684324 Q617409 Q11448 Q1070342 Q158677 Q10862448 Q152004 Q16918333 Q3402214
(c(Q2221906)|c(Q645883),P361,c(Q1190554))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q2221906
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q645883
action count
action filter_multi_types
action find_reverse
entity Q20857240
relation P361
type Q2221906
type Q645883
[ANSWER]
[[{'concept': 'Q2221906'}, {'concept': 'Q645883'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?d WHERE { { ?a property:P361 ?d . ?d rdf:type ontology:Q1190554 . ?a rdf:type ontology:Q2221906 } UNION { ?a property:P361 ?d . ?d rdf:type ontology:Q1190554 . ?a rdf:type ontology:Q645883 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:P361 resource:Q20857240 . { { ?f rdf:type ontology:Q2221906 } UNION { ?f rdf:type ontology:Q645883 } } } } . FILTER ( ?k = ?t ) }
Greco-Turkish War Neapolitan campaigns of Louis the Great Internal conflict in Bangladesh Esperanto meeting Nicaraguan civil war Nine Years' War Battle of Hakodate Anglo-French war of 1202–14 Battle of the Upper Baetis weather Japanese invasions of Korea Russo-Turkish War Annexation of Crimea by the Russian Federation Battle of Loos Albanian Revolt of 1911 Western Sahara conflict Queen Anne's War Spanish reconquest of Mexico Saintonge War Battle of Anzio 1948 Arab–Israeli War Hawkesbury and Nepean Wars aftermath of the 2014–15 Yemeni coup d'état Polish–Ukrainian War Second Northern War Battle of North Borneo Reform War Operation Tractable Texas Revolution axiomatisation Battle of the Somme Latin War Southern Front of the Russian Civil War Glyndŵr Rising legal case Hungarian Revolution of 1956 Ten Years' War Battle of Reval War of the Quadruple Alliance Fourth Anglo-Dutch War Siege of Sevastopol Race to the Sea ontogeny Jugurthine War Yemeni Crisis Polish–Soviet War Second Barbary War Ottoman Invasion of Mani Pemmican War Polish–Swedish War (1600-29) Samnite Wars spaceflight Frisian–Frankish wars Franco-Flemish War Invasion of Normandy Normandy landings Battle of the Scheldt Genpei War Battle of the Misrata frontline software development Bruce campaign in Ireland Napoleonic Wars Montenegrin–Ottoman War Anglo-Russian invasion of Holland Guadalcanal Campaign Middle Eastern theatre of World War I Seventh Crusade Sixth Crusade Siege of Orléans Battle of Kunduz American Civil Liberties Union v. National Security Agency scientific method Battle of Moscow Cuban War of Independence Peninsula Campaign Battle of France Latin War War of the Polish Succession Byzantine–Bulgarian war of 894–896 King George's War Battle of Red Cliffs certification Russo-Swedish War Caucasus Campaign Vandalic War Civil conflict in the Philippines Russo-Swedish War European migrant crisis Arab–Israeli conflict First Anglo-Dutch War French intervention in Mexico Islamic terrorism crisis in France German Campaign of 1813 Fall of Saigon Russo-Turkish War Glorious Revolution First Fitna Franco-Dutch War Guelders Wars First Mithridatic War First Peloponnesian War Northern Crusades 2014 Odessa clashes War of the Sixth Coalition Operation Barbarossa Northern Mali conflict Crimean War nature 2011 military intervention in Libya trial Gothic War Second Anglo-Dutch War First Anglo–Sikh War Operation Tonga War of the First Coalition Battle for Narva (1944) Ten Days' Campaign Roman-Etruscan Wars Byzantine–Seljuq wars Allied advance from Paris to the Rhine Battle of Messines Operation Hydra funeral Battle of Gazala Anglo-Spanish War (1585–1604) Cantabrian Wars Moro conflict Chilean Civil War of 1891 Battle of the Border Battle of Waterloo Operation Cartwheel Georgian-Seljuk wars Neapolitan War Greco-Italian War Gallic War Schmalkaldic War Battle of Donetsk Airport War of the Fourth Coalition Naderian Wars Byzantine–Ottoman Wars French campaign in Egypt and Syria Anbar offensive 2014–15 Yemeni coup d'état teaching Islamic Front–Free Syrian Army conflict Battles of the Bruch Battle of Balaclava Spanish invasion of Portugal Yavapai War Siamese revolution of 1688 Byzantine–Bulgarian wars Battle of the Bulge Swedish War of Liberation Rif Dimashq offensive Beaver Wars Nigerian Civil War War of the Pyrenees Brusilov Offensive Arab Revolt (1916–1918) Anbar clashes (2013–2014) German Peasants' War Colombian armed conflict Hundred Days Offensive Japanese tea ceremony Mongol invasion of Rus' Kalmar War Moroccan–Portuguese conflicts exhibition Fourth Crusade Albigensian Crusade War of the Spanish Succession Third Crusade reprisal operations Battle of the Frontiers Second War of Scottish Independence French Wars of Religion Hook and Cod wars First Barbary War South German Offensive economic crisis War of the Bucket Gallipoli campaign Monastir Offensive Old Towns and New Needs; also the Town Extension Plan Battle of Warsaw 2012 Tuareg rebellion Italian War of 1551–1559 Balkans Campaign Battle of Narva Austro-Prussian War Battles of Rzhev Glencairn's rising Mongol invasions of Japan Battle of Berlin Warburton Lectures Spring Offensive Battle of Singapore First Crusade Austrian-Hungarian War Finnish War Idlib Governorate clashes Hildesheim Diocesan Feud Thirteen Years' War Burgundian Wars Operation Torch Russo-Turkish War Jōkyū War Ottoman–Persian War competition Kuwait–Nejd Border War Battle of Aizu Dutch–Portuguese War political campaign Battle of the St. Lawrence Battle of the Netherlands Kublai Khan's Campaigns steelmaking Puget Sound War Kashmir conflict Operation Zafar 7 KYOTO Cross Media Experience Battle of Passchendaele Second Crusade Battle of Dien Bien Phu metalwork Israeli–Palestinian conflict Marian civil war battles of Schooneveld Turkish involvement in the Syrian Civil War Battle of Timor Siege of Antwerp Second Fitna First Schleswig War Bishops' Wars Battle for Caen Battle of Kursk Leningrad–Novgorod Offensive Battle of the Alamola Franco-Spanish War (1635–1659) Battle of Belgium Balkan Wars Despenser War Palestinian insurgency in South Lebanon meeting Dano-Swedish War War of the Fifth Coalition Argentine War of Independence radioactivity King William's War Northern Seven Years' War Liberation Day War of the Pacific Ukrainian crisis Invasion of Portugal
254
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type event
type geographic location
action find_reverse_tuple_counts
relation part of
type event
type military operation
action count
action filter_multi_types
action find_reverse
entity European migrant crisis
relation part of
type geographic location
type military operation
[[{'concept': 'geographic location'}, {'concept': 'military operation'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?d WHERE { { ?a property:part_of ?d . ?d rdf:type ontology:event . ?a rdf:type ontology:geographic_location } UNION { ?a property:part_of ?d . ?d rdf:type ontology:event . ?a rdf:type ontology:military_operation } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:part_of resource:European_migrant_crisis . { { ?f rdf:type ontology:geographic_location } UNION { ?f rdf:type ontology:military_operation } } } } . FILTER ( ?k = ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q1656682 Q667276 Q502895
USER
How many people were displayed at approximately 2 events and art exhibitions ?
(c(Q502895),P608,c(Q1656682)|c(Q667276))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q667276
value 2
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q667276'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) ?j WHERE { VALUES ( ?y ) { ( ontology:Q667276 ) ( ontology:Q1656682 ) } . ?a rdf:type ?y } GROUP BY ?j } . FILTER ( ?c = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
value 2
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'art exhibition'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) ?j WHERE { VALUES ( ?y ) { ( ontology:art_exhibition ) ( ontology:event ) } . ?a rdf:type ?y } GROUP BY ?j } . FILTER ( ?c = 2 ) }
[]
event art exhibition common name
SYSTEM
2
Q1964408 Q20888837
(c(Q502895),P608,c(Q1656682)|c(Q667276))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q667276
value 2
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q667276'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) ?j WHERE { VALUES ( ?y ) { ( ontology:Q667276 ) ( ontology:Q1656682 ) } . ?a rdf:type ?y } GROUP BY ?j } . FILTER ( ?c = 2 ) }
Nan Hoover Angélique Bègue
2
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
value 2
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'art exhibition'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) ?j WHERE { VALUES ( ?y ) { ( ontology:art_exhibition ) ( ontology:event ) } . ?a rdf:type ?y } GROUP BY ?j } . FILTER ( ?c = 2 ) }
[]