Simple Question (Direct)
Simple Question
Q2128289
P39
Q12737077
USER
Which occupation was a position occupied by Rainer Matthes ?
(Q2128289,P39,c(Q12737077))
action filter_type
action find
entity Q2128289
relation P39
type Q12737077
['Q2128289', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q2128289 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
Rainer Matthes
action filter_type
action find
entity Rainer Matthes
relation position held
type occupation
['Rainer Matthes', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Rainer_Matthes property:position_held ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q18556824
SYSTEM
member of the Landtag of Brandenburg
Q18556824
(Q2128289,P39,c(Q12737077))
action filter_type
action find
entity Q2128289
relation P39
type Q12737077
A [ANSWER] was a position occupied by Rainer Matthes
['Q2128289', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q2128289 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
member of the Landtag of Brandenburg
A member of the Landtag of Brandenburg was a position occupied by Rainer Matthes
member of the Landtag of Brandenburg
action filter_type
action find
entity Rainer Matthes
relation position held
type occupation
['Rainer Matthes', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Rainer_Matthes property:position_held ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2128289
P937
Q515
USER
What is the location where Rainer Matthes worked ?
(Q2128289,P937,c(Q515))
action filter_type
action find
entity Q2128289
relation P937
type Q515
['Q2128289', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q2128289 property:P937 ?n . ?n rdf:type ontology:Q515 }
Rainer Matthes
action filter_type
action find
entity Rainer Matthes
relation work location
type city
['Rainer Matthes', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Rainer_Matthes property:work_location ?n . ?n rdf:type ontology:city }
[]
city
Q1711
SYSTEM
Potsdam
Q1711
(Q2128289,P937,c(Q515))
action filter_type
action find
entity Q2128289
relation P937
type Q515
The location Rainer Matthes worked is in [ANSWER]
['Q2128289', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q2128289 property:P937 ?n . ?n rdf:type ontology:Q515 }
Potsdam
The location Rainer Matthes worked is in Potsdam
Potsdam
action filter_type
action find
entity Rainer Matthes
relation work location
type city
['Rainer Matthes', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Rainer_Matthes property:work_location ?n . ?n rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1711
P17
Q7275
USER
Which states are that city a part of ?
(Q1711,P17,c(Q7275))
action filter_type
action find
entity Q1711
relation P17
type Q7275
['Q1711', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q7275 . resource:Q1711 property:P17 ?c }
Potsdam
action filter_type
action find
entity Potsdam
relation country
type state
['Potsdam', 'country', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:state . resource:Potsdam property:country ?c }
[]
state
Q16957 Q41304 Q7318
SYSTEM
East Germany, Weimar Republic, Nazi Germany
Q7318 Q27306 Q16957 Q41304 Q157367
(Q1711,P17,c(Q7275))
action filter_type
action find
entity Q1711
relation P17
type Q7275
[ANSWERS] are that city a part of
['Q1711', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q7275 . resource:Q1711 property:P17 ?c }
Nazi Germany Kingdom of Prussia East Germany Weimar Republic Brandenburg-Prussia
East Germany, Weimar Republic and Nazi Germany are that city a part of
East Germany Weimar Republic Nazi Germany
action filter_type
action find
entity Potsdam
relation country
type state
['Potsdam', 'country', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:state . resource:Potsdam property:country ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16957 Q42620
P530
Q1048835
USER
How many political territories holds diplomatic relationship with East Germany or Palestinian National Authority ?
(Q16957,P530,c(Q1048835)) (Q42620,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q16957
relation P530
type Q1048835
action filter_type
action find
entity Q42620
relation P530
type Q1048835
['Q16957', 'P530', {'concept': 'Q1048835'}] ['Q42620', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { ?s rdf:type ontology:Q1048835 . resource:Q16957 property:P530 ?s } UNION { resource:Q42620 property:P530 ?s . ?s rdf:type ontology:Q1048835 } }
East Germany Palestinian National Authority
action count
action union
action filter_type
action find
entity East Germany
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Palestinian National Authority
relation diplomatic relation
type political territorial entity
['East Germany', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Palestinian National Authority', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { ?s rdf:type ontology:political_territorial_entity . resource:East_Germany property:diplomatic_relation ?s } UNION { resource:Palestinian_National_Authority property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(Q16957,P530,c(Q1048835)) (Q42620,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q16957
relation P530
type Q1048835
action filter_type
action find
entity Q42620
relation P530
type Q1048835
[ANSWER]
['Q16957', 'P530', {'concept': 'Q1048835'}] ['Q42620', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { ?s rdf:type ontology:Q1048835 . resource:Q16957 property:P530 ?s } UNION { resource:Q42620 property:P530 ?s . ?s rdf:type ontology:Q1048835 } }
Australia Germany
2
action count
action union
action filter_type
action find
entity East Germany
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Palestinian National Authority
relation diplomatic relation
type political territorial entity
['East Germany', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Palestinian National Authority', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { ?s rdf:type ontology:political_territorial_entity . resource:East_Germany property:diplomatic_relation ?s } UNION { resource:Palestinian_National_Authority property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16957
P1376
Q486972
USER
Which human settlement is the county seat for that state ?
action filter_type
action find_reverse
entity Q16957
relation P1376
type Q486972
SELECT DISTINCT ?b WHERE { ?b property:P1376 resource:Q16957 . ?b rdf:type ontology:Q486972 }
East Germany
action filter_type
action find_reverse
entity East Germany
relation capital of
type human settlement
SELECT DISTINCT ?b WHERE { ?b property:capital_of resource:East_Germany . ?b rdf:type ontology:human_settlement }
[]
human settlement
Q56037
SYSTEM
East Berlin
Q56037
action filter_type
action find_reverse
entity Q16957
relation P1376
type Q486972
[ANSWER] is the county seat for that state
SELECT DISTINCT ?b WHERE { ?b property:P1376 resource:Q16957 . ?b rdf:type ontology:Q486972 }
East Berlin
East Berlin is the county seat for that state
East Berlin
action filter_type
action find_reverse
entity East Germany
relation capital of
type human settlement
SELECT DISTINCT ?b WHERE { ?b property:capital_of resource:East_Germany . ?b rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16957
P1001
Q12737077
USER
Which occupations have control over the jurisdiction of East Germany ?
(c(Q12737077),P1001,Q16957)
action filter_type
action find_reverse
entity Q16957
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q16957']
SELECT DISTINCT ?q WHERE { ?q property:P1001 resource:Q16957 . ?q rdf:type ontology:Q12737077 }
East Germany
action filter_type
action find_reverse
entity East Germany
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'East Germany']
SELECT DISTINCT ?q WHERE { ?q property:applies_to_jurisdiction resource:East_Germany . ?q rdf:type ontology:occupation }
[]
occupation
Q889294 Q18557729
SYSTEM
Chairman of the State Council, member of the Volkskammer
Q889294 Q18557729
(c(Q12737077),P1001,Q16957)
action filter_type
action find_reverse
entity Q16957
relation P1001
type Q12737077
[ANSWERS] have control over the jurisdiction of East Germany
[{'concept': 'Q12737077'}, 'P1001', 'Q16957']
SELECT DISTINCT ?q WHERE { ?q property:P1001 resource:Q16957 . ?q rdf:type ontology:Q12737077 }
Chairman of the State Council member of the Volkskammer
Chairman of the State Council and member of the Volkskammer have control over the jurisdiction of East Germany
Chairman of the State Council member of the Volkskammer
action filter_type
action find_reverse
entity East Germany
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'East Germany']
SELECT DISTINCT ?q WHERE { ?q property:applies_to_jurisdiction resource:East_Germany . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16957
P127
Q44539
USER
Which temple belongs to East Germany ?
(c(Q44539),P127,Q16957)
action filter_type
action find_reverse
entity Q16957
relation P127
type Q44539
[{'concept': 'Q44539'}, 'P127', 'Q16957']
SELECT DISTINCT ?u WHERE { ?u property:P127 resource:Q16957 . ?u rdf:type ontology:Q44539 }
East Germany
action filter_type
action find_reverse
entity East Germany
relation owned by
type temple
[{'concept': 'temple'}, 'owned by', 'East Germany']
SELECT DISTINCT ?u WHERE { ?u property:owned_by resource:East_Germany . ?u rdf:type ontology:temple }
[]
temple
Q435519
SYSTEM
village church Kleinmachnow
Q435519
(c(Q44539),P127,Q16957)
action filter_type
action find_reverse
entity Q16957
relation P127
type Q44539
[ANSWER] belongs to East Germany
[{'concept': 'Q44539'}, 'P127', 'Q16957']
SELECT DISTINCT ?u WHERE { ?u property:P127 resource:Q16957 . ?u rdf:type ontology:Q44539 }
village church Kleinmachnow
Village church Kleinmachnow belongs to East Germany
village church Kleinmachnow
action filter_type
action find_reverse
entity East Germany
relation owned by
type temple
[{'concept': 'temple'}, 'owned by', 'East Germany']
SELECT DISTINCT ?u WHERE { ?u property:owned_by resource:East_Germany . ?u rdf:type ontology:temple }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q435519
P793
Q1656682
USER
Which significant event is that temple associated with ?
(Q435519,P793,c(Q1656682))
action filter_type
action find
entity Q435519
relation P793
type Q1656682
['Q435519', 'P793', {'concept': 'Q1656682'}]
SELECT DISTINCT ?w WHERE { resource:Q435519 property:P793 ?w . ?w rdf:type ontology:Q1656682 }
village church Kleinmachnow
action filter_type
action find
entity village church Kleinmachnow
relation significant event
type event
['village church Kleinmachnow', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?w WHERE { resource:village_church_Kleinmachnow property:significant_event ?w . ?w rdf:type ontology:event }
[]
event
Q15051339
SYSTEM
opening
Q15051339
(Q435519,P793,c(Q1656682))
action filter_type
action find
entity Q435519
relation P793
type Q1656682
That temple is associated with [ANSWER]
['Q435519', 'P793', {'concept': 'Q1656682'}]
SELECT DISTINCT ?w WHERE { resource:Q435519 property:P793 ?w . ?w rdf:type ontology:Q1656682 }
opening
That temple is associated with opening
opening
action filter_type
action find
entity village church Kleinmachnow
relation significant event
type event
['village church Kleinmachnow', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?w WHERE { resource:village_church_Kleinmachnow property:significant_event ?w . ?w rdf:type ontology:event }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P805
Q1914636 Q1656682
USER
Which activities have max number of events as a subject ?
(c(Q1656682),P805,Q7141)
action argmax
action find_reverse_tuple_counts
relation P805
type Q1914636
type Q1656682
[{'concept': 'Q1656682'}, 'P805', 'Q7141']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P805 ?j . ?j rdf:type ontology:Q1914636 . ?u rdf:type ontology:Q1656682 } GROUP BY ?j } . FILTER ( ?b = ?w ) . { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?a ) WHERE { ?i rdf:type ontology:Q1914636 . ?h rdf:type ontology:Q1656682 . ?h property:P805 ?i } GROUP BY ?i } } }
action argmax
action find_reverse_tuple_counts
relation subject of
type activity
type event
[{'concept': 'event'}, 'subject of', 'cell biology']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:subject_of ?j . ?j rdf:type ontology:activity . ?u rdf:type ontology:event } GROUP BY ?j } . FILTER ( ?b = ?w ) . { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?a ) WHERE { ?i rdf:type ontology:activity . ?h rdf:type ontology:event . ?h property:subject_of ?i } GROUP BY ?i } } }
[]
activity event
Q638
SYSTEM
music
Q638
(c(Q1656682),P805,Q7141)
action argmax
action find_reverse_tuple_counts
relation P805
type Q1914636
type Q1656682
The [ANSWER] have max number of events as a subject
[{'concept': 'Q1656682'}, 'P805', 'Q7141']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P805 ?j . ?j rdf:type ontology:Q1914636 . ?u rdf:type ontology:Q1656682 } GROUP BY ?j } . FILTER ( ?b = ?w ) . { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?a ) WHERE { ?i rdf:type ontology:Q1914636 . ?h rdf:type ontology:Q1656682 . ?h property:P805 ?i } GROUP BY ?i } } }
music
The music have max number of events as a subject
music
action argmax
action find_reverse_tuple_counts
relation subject of
type activity
type event
[{'concept': 'event'}, 'subject of', 'cell biology']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:subject_of ?j . ?j rdf:type ontology:activity . ?u rdf:type ontology:event } GROUP BY ?j } . FILTER ( ?b = ?w ) . { SELECT DISTINCT ( MAX ( ?a ) AS ?w ) { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?a ) WHERE { ?i rdf:type ontology:activity . ?h rdf:type ontology:event . ?h property:subject_of ?i } GROUP BY ?i } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q13605743
P361
Q163740 Q1047113 Q1914636
USER
Which activities are a part of approximately the same number of nonprofit organizations and special fields as 2013 Egyptian coup d'état ?
(c(Q1914636),P361,c(Q163740)|c(Q1047113))
action approx
action union
action find_tuple_counts
relation P361
type Q1914636
type Q163740
action find_tuple_counts
relation P361
type Q1914636
type Q1047113
action count
action filter_multi_types
action find
entity Q13605743
relation P361
type Q163740
type Q1047113
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q163740'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?x WHERE { { ?l rdf:type ontology:Q163740 . ?x rdf:type ontology:Q1914636 . ?x property:P361 ?l } UNION { ?x property:P361 ?l . ?x rdf:type ontology:Q1914636 . ?l rdf:type ontology:Q1047113 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Q13605743 property:P361 ?r . { { ?r rdf:type ontology:Q1047113 } UNION { ?r rdf:type ontology:Q163740 } } } } . FILTER ( ?h = ?f ) }
2013 Egyptian coup d'état
action approx
action union
action find_tuple_counts
relation part of
type activity
type nonprofit organization
action find_tuple_counts
relation part of
type activity
type special field
action count
action filter_multi_types
action find
entity 2013 Egyptian coup d'état
relation part of
type nonprofit organization
type special field
[{'concept': 'activity'}, 'part of', [{'concept': 'nonprofit organization'}, {'concept': 'special field'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?x WHERE { { ?l rdf:type ontology:nonprofit_organization . ?x rdf:type ontology:activity . ?x property:part_of ?l } UNION { ?x property:part_of ?l . ?x rdf:type ontology:activity . ?l rdf:type ontology:special_field } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:2013_Egyptian_coup_d'état property:part_of ?r . { { ?r rdf:type ontology:special_field } UNION { ?r rdf:type ontology:nonprofit_organization } } } } . FILTER ( ?h = ?f ) }
[]
nonprofit organization special field activity
Q20706262 Q244939 Q15871713
SYSTEM
Breakthrough Listen, 228 Incident, 2014 pro-Russian unrest in Ukraine
Q1069 Q5972092 Q17014350 Q4652509 Q14623204 Q7202 Q7205 Q3519248 Q8074593 Q3189909 Q471906 Q5322511 Q1642790 Q205260 Q159964 Q5172476 Q2301555 Q309162 Q8427 Q10979515 Q3720660 Q19969854 Q1546627 Q1786253 Q297251 Q1246516 Q214932 Q26997005 Q29198 Q3009579 Q517003 Q83371 Q204938 Q1330176 Q11410 Q244955 Q472238 Q1153786 Q189250 Q1273108 Q1924397 Q897511 Q1023769 Q16861871 Q306103 Q1787378 Q7041997 Q1185297 Q338754 Q25931035 Q1110896 Q11448899 Q10494362 Q2914732 Q13507753 Q26132809 Q210005 Q2313702 Q514 Q4621731 Q1719546 Q4116434 Q13605743 Q331803 Q288166 Q242864 Q2021311 Q20706262 Q244939 Q4763557 Q1298668 Q9166713 Q2956237 Q641169 Q1052820 Q392409 Q43114 Q190993 Q862072 Q306228 Q500096 Q11467 Q80993 Q18156118 Q306096 Q2465832 Q23038331 Q8789 Q5775114 Q3500162 Q1860969 Q1319035 Q22905659 Q645920 Q219067 Q3438698 Q298455 Q19723898 Q7141 Q332736 Q953652 Q131683 Q14215960 Q4307822 Q31728 Q321984 Q331835 Q11774442 Q1203526 Q15871713
(c(Q1914636),P361,c(Q163740)|c(Q1047113))
action approx
action union
action find_tuple_counts
relation P361
type Q1914636
type Q163740
action find_tuple_counts
relation P361
type Q1914636
type Q1047113
action count
action filter_multi_types
action find
entity Q13605743
relation P361
type Q163740
type Q1047113
[ANSWERS] are a part of approximately the same number of nonprofit organizations and special fields as 2013 Egyptian coup d'état
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q163740'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?x WHERE { { ?l rdf:type ontology:Q163740 . ?x rdf:type ontology:Q1914636 . ?x property:P361 ?l } UNION { ?x property:P361 ?l . ?x rdf:type ontology:Q1914636 . ?l rdf:type ontology:Q1047113 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Q13605743 property:P361 ?r . { { ?r rdf:type ontology:Q1047113 } UNION { ?r rdf:type ontology:Q163740 } } } } . FILTER ( ?h = ?f ) }
geology IMRC transgender activism AM1* secondary education molecular biology paleontology teuthology Zoti Jum quantum cryptography EAOP circuit technology Zinswucher typography Corporate media open-loop controller extreme sport turkology general economics 2012–2013 Egyptian protests Project Aristo Strategy (game theory) power plant technology Ölpolitur Feminist art flight simulator Renaissance art 2011 Egyptian revolution Cytology Soviet manned lunar programs seismology Zinkätzung judicial activism game Zwischengesang 2010–2012 Algerian protests DIN 488 Zeltmission E-Commerce measurement technology cryptanalysis CIVITAS job training mining method parts cleaning Nixon White House tapes Dementi control Bernie or Bust Colonial Service Academic Frontier Promotion Project Faunistics military deception Via Catalana Twinkl Create 2011 Yemeni revolution Sprengtechnik anatomy 2011 London anti-cuts protest recreational diving Medical privacy 2013 Egyptian coup d'état sales assistant Riksgropen Bahraini uprising Dutch Senior Civil Service Breakthrough Listen 228 Incident Anglican ministry research project tertiary education lyric singing Voice projection Suijutsu free-diving aikido malacology conchology Abbergen psychophysics metallurgy software engineering Hong Kong Civil Service Dismantling production branch of science 2016 Chicago protest cryptography history of Australia Bijeljina massacre Mars to Stay adult education Prostitution in ancient Greece Protestation at Speyer physical exercise Sijekovac killings Österleden Europeana Food and Drink cell biology Absolve domine Hello! Project embryology freighter travel Muraqqa public administration Abkreuzung suction Prostitution in ancient Rome pilot experiment 2014 pro-Russian unrest in Ukraine
Breakthrough Listen, 228 Incident and 2014 pro-Russian unrest in Ukraine are a part of approximately the same number of nonprofit organizations and special fields as 2013 Egyptian coup d'état
Breakthrough Listen 228 Incident 2014 pro-Russian unrest in Ukraine
action approx
action union
action find_tuple_counts
relation part of
type activity
type nonprofit organization
action find_tuple_counts
relation part of
type activity
type special field
action count
action filter_multi_types
action find
entity 2013 Egyptian coup d'état
relation part of
type nonprofit organization
type special field
[{'concept': 'activity'}, 'part of', [{'concept': 'nonprofit organization'}, {'concept': 'special field'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?x WHERE { { ?l rdf:type ontology:nonprofit_organization . ?x rdf:type ontology:activity . ?x property:part_of ?l } UNION { ?x property:part_of ?l . ?x rdf:type ontology:activity . ?l rdf:type ontology:special_field } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:2013_Egyptian_coup_d'état property:part_of ?r . { { ?r rdf:type ontology:special_field } UNION { ?r rdf:type ontology:nonprofit_organization } } } } . FILTER ( ?h = ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1711
P17
Q183366 Q3024240
USER
How many territories or former countries do Potsdam belong to ?
(Q1711,P17,c(Q183366)) (Q1711,P17,c(Q3024240))
action count
action union
action filter_type
action find
entity Q1711
relation P17
type Q183366
action filter_type
action find
entity Q1711
relation P17
type Q3024240
['Q1711', 'P17', {'concept': 'Q183366'}] ['Q1711', 'P17', {'concept': 'Q3024240'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { VALUES ( ?o ) { ( ontology:Q183366 ) ( ontology:Q3024240 ) } . ?b rdf:type ?o }
Potsdam
action count
action union
action filter_type
action find
entity Potsdam
relation country
type territory
action filter_type
action find
entity Potsdam
relation country
type former country
['Potsdam', 'country', {'concept': 'territory'}] ['Potsdam', 'country', {'concept': 'former country'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { VALUES ( ?o ) { ( ontology:territory ) ( ontology:former_country ) } . ?b rdf:type ?o }
[]
territory former country
SYSTEM
2
Q55300 Q43287
(Q1711,P17,c(Q183366)) (Q1711,P17,c(Q3024240))
action count
action union
action filter_type
action find
entity Q1711
relation P17
type Q183366
action filter_type
action find
entity Q1711
relation P17
type Q3024240
[ANSWER]
['Q1711', 'P17', {'concept': 'Q183366'}] ['Q1711', 'P17', {'concept': 'Q3024240'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { VALUES ( ?o ) { ( ontology:Q183366 ) ( ontology:Q3024240 ) } . ?b rdf:type ?o }
Soviet occupation zone German Empire
2
action count
action union
action filter_type
action find
entity Potsdam
relation country
type territory
action filter_type
action find
entity Potsdam
relation country
type former country
['Potsdam', 'country', {'concept': 'territory'}] ['Potsdam', 'country', {'concept': 'former country'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { VALUES ( ?o ) { ( ontology:territory ) ( ontology:former_country ) } . ?b rdf:type ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16957 Q953
P463
Q874405
USER
How many social groups had East Germany or Zambia as their member ?
(Q16957,P463,c(Q874405)) (Q953,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q16957
relation P463
type Q874405
action filter_type
action find
entity Q953
relation P463
type Q874405
['Q16957', 'P463', {'concept': 'Q874405'}] ['Q953', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?z property:P463 ?t . VALUES ( ?z ) { ( resource:Q16957 ) ( resource:Q953 ) } }
East Germany Zambia
action count
action union
action filter_type
action find
entity East Germany
relation member of
type social group
action filter_type
action find
entity Zambia
relation member of
type social group
['East Germany', 'member of', {'concept': 'social group'}] ['Zambia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?z property:member_of ?t . VALUES ( ?z ) { ( resource:East_Germany ) ( resource:Zambia ) } }
[]
social group
SYSTEM
3
Q477328 Q1069175 Q41984
(Q16957,P463,c(Q874405)) (Q953,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q16957
relation P463
type Q874405
action filter_type
action find
entity Q953
relation P463
type Q874405
[ANSWER]
['Q16957', 'P463', {'concept': 'Q874405'}] ['Q953', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?z property:P463 ?t . VALUES ( ?z ) { ( resource:Q16957 ) ( resource:Q953 ) } }
Group of 77 International Federation of Red Cross and Red Crescent Societies International Atomic Energy Agency
3
action count
action union
action filter_type
action find
entity East Germany
relation member of
type social group
action filter_type
action find
entity Zambia
relation member of
type social group
['East Germany', 'member of', {'concept': 'social group'}] ['Zambia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?z property:member_of ?t . VALUES ( ?z ) { ( resource:East_Germany ) ( resource:Zambia ) } }
[]