Simple Question (Direct)
Simple Question
Q7933419
P106
Q12737077
USER
What is the job of Viorel Vasile Ignătescu ?
(Q7933419,P106,c(Q12737077))
action filter_type
action find
entity Q7933419
relation P106
type Q12737077
['Q7933419', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q7933419 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Viorel Vasile Ignătescu
action filter_type
action find
entity Viorel Vasile Ignătescu
relation occupation
type occupation
['Viorel Vasile Ignătescu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Viorel_Vasile_Ignătescu property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7933419,P106,c(Q12737077))
action filter_type
action find
entity Q7933419
relation P106
type Q12737077
The job of Viorel Vasile Ignătescu is an [ANSWER]
['Q7933419', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q7933419 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
association football player
The job of Viorel Vasile Ignătescu is an association football player
association football player
action filter_type
action find
entity Viorel Vasile Ignătescu
relation occupation
type occupation
['Viorel Vasile Ignătescu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Viorel_Vasile_Ignătescu property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7933419
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q7933419
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q7933419 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Viorel Vasile Ignătescu
action filter_type
action find
entity Viorel Vasile Ignătescu
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Viorel_Vasile_Ignătescu property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q7933419
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q7933419 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Romania
Romania is the country of citizenship of that person
Romania
action filter_type
action find
entity Viorel Vasile Ignătescu
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Viorel_Vasile_Ignătescu property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with around 21 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 21
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?k = 21 ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?k ) WHERE { ?q rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 . ?q property:P530 ?v } GROUP BY ?q } }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 21
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?k = 21 ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?k ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?v } GROUP BY ?q } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q142
SYSTEM
United States of America, Russia, France
Q801 Q805 Q142 Q159 Q30 Q929 Q17 Q114 Q858 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 21
[ANSWERS] are known to have diplomatic connections with around 21 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?k = 21 ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?k ) WHERE { ?q rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 . ?q property:P530 ?v } GROUP BY ?q } }
Israel Yemen France Russia United States of America Central African Republic Japan Kenya Syria Zambia
United States of America, Russia and France are known to have diplomatic connections with around 21 administrative territories
United States of America Russia France
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 21
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?k = 21 ) . { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?k ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?v } GROUP BY ?q } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6812542
P530
Q15617994
USER
Do Melinsey have diplomatic relations with those ones ?
(Q6812542,P530,Q30) (Q6812542,P530,Q159) (Q6812542,P530,Q142)
action is_in
entity prev_answer
action find
entity Q6812542
relation P530
['Q6812542', 'P530', 'Q30'] ['Q6812542', 'P530', 'Q159'] ['Q6812542', 'P530', 'Q142']
ASK WHERE { VALUES ( ?y ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q142 ) } . resource:Q6812542 property:P530 ?y }
Melinsey
action is_in
entity prev_answer
action find
entity Melinsey
relation diplomatic relation
['Melinsey', 'diplomatic relation', 'United States of America'] ['Melinsey', 'diplomatic relation', 'Russia'] ['Melinsey', 'diplomatic relation', 'France']
ASK WHERE { VALUES ( ?y ) { ( resource:Israel ) ( resource:Yemen ) ( resource:France ) } . resource:Melinsey property:diplomatic_relation ?y }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6812542,P530,Q30) (Q6812542,P530,Q159) (Q6812542,P530,Q142)
action is_in
entity prev_answer
action find
entity Q6812542
relation P530
[ANSWER]
['Q6812542', 'P530', 'Q30'] ['Q6812542', 'P530', 'Q159'] ['Q6812542', 'P530', 'Q142']
ASK WHERE { VALUES ( ?y ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q142 ) } . resource:Q6812542 property:P530 ?y }
No
action is_in
entity prev_answer
action find
entity Melinsey
relation diplomatic relation
['Melinsey', 'diplomatic relation', 'United States of America'] ['Melinsey', 'diplomatic relation', 'Russia'] ['Melinsey', 'diplomatic relation', 'France']
ASK WHERE { VALUES ( ?y ) { ( resource:Israel ) ( resource:Yemen ) ( resource:France ) } . resource:Melinsey property:diplomatic_relation ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q159
P921
Q191067 Q15416
USER
How many articles or television programs have Russia as their main topic ?
(c(Q191067),P921,Q159) (c(Q15416),P921,Q159)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P921
type Q191067
action filter_type
action find_reverse
entity Q159
relation P921
type Q15416
[{'concept': 'Q191067'}, 'P921', 'Q159'] [{'concept': 'Q15416'}, 'P921', 'Q159']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { ?n rdf:type ontology:Q191067 . ?n property:P921 resource:Q159 } UNION { ?n property:P921 resource:Q159 . ?n rdf:type ontology:Q15416 } }
Russia
action count
action union
action filter_type
action find_reverse
entity Russia
relation main subject
type article
action filter_type
action find_reverse
entity Russia
relation main subject
type television program
[{'concept': 'article'}, 'main subject', 'Russia'] [{'concept': 'television program'}, 'main subject', 'Russia']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { ?n rdf:type ontology:article . ?n property:main_subject resource:Russia } UNION { ?n property:main_subject resource:Russia . ?n rdf:type ontology:television_program } }
[]
article television program
SYSTEM
4
Q20655465 Q24256466 Q2487216 Q4589758
(c(Q191067),P921,Q159) (c(Q15416),P921,Q159)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P921
type Q191067
action filter_type
action find_reverse
entity Q159
relation P921
type Q15416
[ANSWER]
[{'concept': 'Q191067'}, 'P921', 'Q159'] [{'concept': 'Q15416'}, 'P921', 'Q159']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { ?n rdf:type ontology:Q191067 . ?n property:P921 resource:Q159 } UNION { ?n property:P921 resource:Q159 . ?n rdf:type ontology:Q15416 } }
EB-11 / Russia EB-12 / Russia Van Moskou tot Moermansk Van Moskou tot Magadan
4
action count
action union
action filter_type
action find_reverse
entity Russia
relation main subject
type article
action filter_type
action find_reverse
entity Russia
relation main subject
type television program
[{'concept': 'article'}, 'main subject', 'Russia'] [{'concept': 'television program'}, 'main subject', 'Russia']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { ?n rdf:type ontology:article . ?n property:main_subject resource:Russia } UNION { ?n property:main_subject resource:Russia . ?n rdf:type ontology:television_program } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1813646 Q218
P6 P40
Q502895
USER
Which people are the heads of the government of Romania or are an offsprings of Anna Kettler ?
OR((Q218,P6,c(Q502895)), (Q1813646,P40,c(Q502895)))
action filter_type
action union
action find
entity Q218
relation P6
action find
entity Q1813646
relation P40
type Q502895
{'OR': [['Q218', 'P6', {'concept': 'Q502895'}], ['Q1813646', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q218 property:P6 ?a } UNION { resource:Q1813646 property:P40 ?a } } . ?a rdf:type ontology:Q502895 }
Anna Kettler Romania
action filter_type
action union
action find
entity Romania
relation head of government
action find
entity Anna Kettler
relation child
type common name
{'OR': [['Romania', 'head of government', {'concept': 'common name'}], ['Anna Kettler', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Romania property:head_of_government ?a } UNION { resource:Anna_Kettler property:child ?a } } . ?a rdf:type ontology:common_name }
[]
common name
Q357004 Q57692 Q126671 Q255022 Q126660 Q271966 Q152362 Q316823 Q370856 Q207473
SYSTEM
Some of them are Radu Vasile, Victor Ponta, Nicolae Văcăroiu, Mugur Isărescu, Theodor Stolojan, Adrian Năstase, Mihai Răzvan Ungureanu, Petre Roman, Victor Ciorbea, Călin Popescu-Tăriceanu
Q57692 Q357004 Q370856 Q2020642 Q929248 Q267857 Q316823 Q255022 Q207473 Q271966 Q2592846 Q126671 Q126660 Q152362
OR((Q218,P6,c(Q502895)), (Q1813646,P40,c(Q502895)))
action filter_type
action union
action find
entity Q218
relation P6
action find
entity Q1813646
relation P40
type Q502895
[ANSWERS] are the heads of the government of Romania or are an offsprings of Anna Kettler
{'OR': [['Q218', 'P6', {'concept': 'Q502895'}], ['Q1813646', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q218 property:P6 ?a } UNION { resource:Q1813646 property:P40 ?a } } . ?a rdf:type ontology:Q502895 }
Victor Ponta Radu Vasile Victor Ciorbea Godhard von der Recke Dacian Cioloş Emil Boc Petre Roman Mugur Isărescu Călin Popescu-Tăriceanu Adrian Năstase Johan von der Recke Nicolae Văcăroiu Theodor Stolojan Mihai Răzvan Ungureanu
Radu Vasile, Victor Ponta, Nicolae Văcăroiu, Mugur Isărescu, Theodor Stolojan, Adrian Năstase, Mihai Răzvan Ungureanu, Petre Roman, Victor Ciorbea and Călin Popescu-Tăriceanu are the heads of the government of Romania or are an offsprings of Anna Kettler
Radu Vasile Victor Ponta Nicolae Văcăroiu Mugur Isărescu Theodor Stolojan Adrian Năstase Mihai Răzvan Ungureanu Petre Roman Victor Ciorbea Călin Popescu-Tăriceanu
action filter_type
action union
action find
entity Romania
relation head of government
action find
entity Anna Kettler
relation child
type common name
{'OR': [['Romania', 'head of government', {'concept': 'common name'}], ['Anna Kettler', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Romania property:head_of_government ?a } UNION { resource:Anna_Kettler property:child ?a } } . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q509355
P6
Q15617994
USER
Are those people the head of the goverment of Königsbrunn ?
(Q509355,P6,Q357004) (Q509355,P6,Q57692) (Q509355,P6,Q126671) (Q509355,P6,Q255022) (Q509355,P6,Q126660) (Q509355,P6,Q271966) (Q509355,P6,Q152362) (Q509355,P6,Q316823) (Q509355,P6,Q370856) (Q509355,P6,Q207473)
action is_in
entity prev_answer
action find
entity Q509355
relation P6
['Q509355', 'P6', 'Q357004'] ['Q509355', 'P6', 'Q57692'] ['Q509355', 'P6', 'Q126671'] ['Q509355', 'P6', 'Q255022'] ['Q509355', 'P6', 'Q126660'] ['Q509355', 'P6', 'Q271966'] ['Q509355', 'P6', 'Q152362'] ['Q509355', 'P6', 'Q316823'] ['Q509355', 'P6', 'Q370856'] ['Q509355', 'P6', 'Q207473']
ASK WHERE { VALUES ( ?v ) { ( resource:Q57692 ) ( resource:Q357004 ) ( resource:Q370856 ) } . resource:Q509355 property:P6 ?v }
Königsbrunn
action is_in
entity prev_answer
action find
entity Königsbrunn
relation head of government
['Königsbrunn', 'head of government', 'Radu Vasile'] ['Königsbrunn', 'head of government', 'Victor Ponta'] ['Königsbrunn', 'head of government', 'Nicolae Văcăroiu'] ['Königsbrunn', 'head of government', 'Mugur Isărescu'] ['Königsbrunn', 'head of government', 'Theodor Stolojan'] ['Königsbrunn', 'head of government', 'Adrian Năstase'] ['Königsbrunn', 'head of government', 'Mihai Răzvan Ungureanu'] ['Königsbrunn', 'head of government', 'Petre Roman'] ['Königsbrunn', 'head of government', 'Victor Ciorbea'] ['Königsbrunn', 'head of government', 'Călin Popescu-Tăriceanu']
ASK WHERE { VALUES ( ?v ) { ( resource:Victor_Ponta ) ( resource:Radu_Vasile ) ( resource:Victor_Ciorbea ) } . resource:Königsbrunn property:head_of_government ?v }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q509355,P6,Q357004) (Q509355,P6,Q57692) (Q509355,P6,Q126671) (Q509355,P6,Q255022) (Q509355,P6,Q126660) (Q509355,P6,Q271966) (Q509355,P6,Q152362) (Q509355,P6,Q316823) (Q509355,P6,Q370856) (Q509355,P6,Q207473)
action is_in
entity prev_answer
action find
entity Q509355
relation P6
[ANSWER]
['Q509355', 'P6', 'Q357004'] ['Q509355', 'P6', 'Q57692'] ['Q509355', 'P6', 'Q126671'] ['Q509355', 'P6', 'Q255022'] ['Q509355', 'P6', 'Q126660'] ['Q509355', 'P6', 'Q271966'] ['Q509355', 'P6', 'Q152362'] ['Q509355', 'P6', 'Q316823'] ['Q509355', 'P6', 'Q370856'] ['Q509355', 'P6', 'Q207473']
ASK WHERE { VALUES ( ?v ) { ( resource:Q57692 ) ( resource:Q357004 ) ( resource:Q370856 ) } . resource:Q509355 property:P6 ?v }
No
action is_in
entity prev_answer
action find
entity Königsbrunn
relation head of government
['Königsbrunn', 'head of government', 'Radu Vasile'] ['Königsbrunn', 'head of government', 'Victor Ponta'] ['Königsbrunn', 'head of government', 'Nicolae Văcăroiu'] ['Königsbrunn', 'head of government', 'Mugur Isărescu'] ['Königsbrunn', 'head of government', 'Theodor Stolojan'] ['Königsbrunn', 'head of government', 'Adrian Năstase'] ['Königsbrunn', 'head of government', 'Mihai Răzvan Ungureanu'] ['Königsbrunn', 'head of government', 'Petre Roman'] ['Königsbrunn', 'head of government', 'Victor Ciorbea'] ['Königsbrunn', 'head of government', 'Călin Popescu-Tăriceanu']
ASK WHERE { VALUES ( ?v ) { ( resource:Victor_Ponta ) ( resource:Radu_Vasile ) ( resource:Victor_Ciorbea ) } . resource:Königsbrunn property:head_of_government ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q357004
P463
Q484652
USER
Which international organization was Radu Vasile a member of ?
(Q357004,P463,c(Q484652))
action filter_type
action find
entity Q357004
relation P463
type Q484652
['Q357004', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?t WHERE { resource:Q357004 property:P463 ?t . ?t rdf:type ontology:Q484652 }
Radu Vasile
action filter_type
action find
entity Radu Vasile
relation member of
type international organization
['Radu Vasile', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?t WHERE { resource:Radu_Vasile property:member_of ?t . ?t rdf:type ontology:international_organization }
[]
international organization
Q939743
SYSTEM
Parliamentary Assembly of the Council of Europe
Q939743
(Q357004,P463,c(Q484652))
action filter_type
action find
entity Q357004
relation P463
type Q484652
The [ANSWER] was Radu Vasile a member of
['Q357004', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?t WHERE { resource:Q357004 property:P463 ?t . ?t rdf:type ontology:Q484652 }
Parliamentary Assembly of the Council of Europe
The Parliamentary Assembly of the Council of Europe was Radu Vasile a member of
Parliamentary Assembly of the Council of Europe
action filter_type
action find
entity Radu Vasile
relation member of
type international organization
['Radu Vasile', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?t WHERE { resource:Radu_Vasile property:member_of ?t . ?t rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q357004
P102
Q7210356
USER
Which parties do Radu Vasile belong to ?
(Q357004,P102,c(Q7210356))
action filter_type
action find
entity Q357004
relation P102
type Q7210356
['Q357004', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q7210356 . resource:Q357004 property:P102 ?w }
Radu Vasile
action filter_type
action find
entity Radu Vasile
relation member of political party
type political organization
['Radu Vasile', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_organization . resource:Radu_Vasile property:member_of_political_party ?w }
[]
political organization
Q259887 Q13359938
SYSTEM
Christian-Democratic National Peasants' Party, Democratic Party (Romania)
Q259887 Q13359938
(Q357004,P102,c(Q7210356))
action filter_type
action find
entity Q357004
relation P102
type Q7210356
Radu Vasile belong to [ANSWERS]
['Q357004', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q7210356 . resource:Q357004 property:P102 ?w }
Christian-Democratic National Peasants' Party Democratic Party (Romania)
Radu Vasile belong to Christian-Democratic National Peasants' Party and Democratic Party (Romania)
Christian-Democratic National Peasants' Party Democratic Party (Romania)
action filter_type
action find
entity Radu Vasile
relation member of political party
type political organization
['Radu Vasile', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_organization . resource:Radu_Vasile property:member_of_political_party ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q502895 Q5398426 Q95074
USER
How many people do around 1 television series and fictional characters extend upon ?
(c(Q5398426)|c(Q95074),P144,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q5398426
action find_reverse_tuple_counts
relation P144
type Q502895
type Q95074
value 1
[[{'concept': 'Q5398426'}, {'concept': 'Q95074'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?p ) { ( ontology:Q95074 ) ( ontology:Q5398426 ) } . ?x rdf:type ?p } GROUP BY ?y } . FILTER ( ?f = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation based on
type common name
type television series
action find_reverse_tuple_counts
relation based on
type common name
type fictional character
value 1
[[{'concept': 'television series'}, {'concept': 'fictional character'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?p ) { ( ontology:fictional_character ) ( ontology:television_series ) } . ?x rdf:type ?p } GROUP BY ?y } . FILTER ( ?f = 1 ) }
[]
common name television series fictional character
SYSTEM
26
Q11413422 Q125970 Q1093885 Q93839 Q744183 Q5358877 Q207 Q6748293 Q357498 Q724506 Q434317 Q76 Q47216 Q1385693 Q14544902 Q192218 Q3839050 Q11584822 Q6184230 Q9640 Q182788 Q309643 Q36268 Q152779 Q549242 Q521095
(c(Q5398426)|c(Q95074),P144,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q5398426
action find_reverse_tuple_counts
relation P144
type Q502895
type Q95074
value 1
[ANSWER]
[[{'concept': 'Q5398426'}, {'concept': 'Q95074'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?p ) { ( ontology:Q95074 ) ( ontology:Q5398426 ) } . ?x rdf:type ?p } GROUP BY ?y } . FILTER ( ?f = 1 ) }
Yasumi Yoshizawa Keigo Higashino Hathi Gary M. Heidnik Charles de Batz-Castelmore d'Artagnan Jun Ikeido George W. Bush Mandy Grunwald Gary Ridgway John E. Douglas Dee Dee Myers Barack Obama Condoleezza Rice Jerry Brudos Henri d'Aramitz Ted Bundy Lucy Hay, Countess of Carlisle Ayumi Ishii Jerry Parr Lyndon B. Johnson Newt Gingrich Ed Gein Brigitte Bardot Louise Brooks Edmund Kemper Robert M. Morgenthau
26
action count
action approx
action union
action find_reverse_tuple_counts
relation based on
type common name
type television series
action find_reverse_tuple_counts
relation based on
type common name
type fictional character
value 1
[[{'concept': 'television series'}, {'concept': 'fictional character'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?f ) WHERE { VALUES ( ?p ) { ( ontology:fictional_character ) ( ontology:television_series ) } . ?x rdf:type ?p } GROUP BY ?y } . FILTER ( ?f = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q357004
P6
Q15617994 Q35798
USER
How many administrative territories and executive branches have a government lead by Radu Vasile ?
(c(Q15617994),P6,Q357004) (c(Q35798),P6,Q357004)
action count
action union
action filter_type
action find_reverse
entity Q357004
relation P6
type Q15617994
action filter_type
action find_reverse
entity Q357004
relation P6
type Q35798
[{'concept': 'Q15617994'}, 'P6', 'Q357004'] [{'concept': 'Q35798'}, 'P6', 'Q357004']
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q35798 ) } . ?g rdf:type ?s }
Radu Vasile
action count
action union
action filter_type
action find_reverse
entity Radu Vasile
relation head of government
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Radu Vasile
relation head of government
type executive branch
[{'concept': 'designation for an administrative territorial entity'}, 'head of government', 'Radu Vasile'] [{'concept': 'executive branch'}, 'head of government', 'Radu Vasile']
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:executive_branch ) } . ?g rdf:type ?s }
[]
designation for an administrative territorial entity executive branch
SYSTEM
1 administrative territories and 1 executive branches
Q218 Q7916612
(c(Q15617994),P6,Q357004) (c(Q35798),P6,Q357004)
action count
action union
action filter_type
action find_reverse
entity Q357004
relation P6
type Q15617994
action filter_type
action find_reverse
entity Q357004
relation P6
type Q35798
[ANSWER]
[{'concept': 'Q15617994'}, 'P6', 'Q357004'] [{'concept': 'Q35798'}, 'P6', 'Q357004']
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { VALUES ( ?s ) { ( ontology:Q15617994 ) ( ontology:Q35798 ) } . ?g rdf:type ?s }
Romania Vasile I Cabinet
1 administrative territories and 1 executive branches
action count
action union
action filter_type
action find_reverse
entity Radu Vasile
relation head of government
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Radu Vasile
relation head of government
type executive branch
[{'concept': 'designation for an administrative territorial entity'}, 'head of government', 'Radu Vasile'] [{'concept': 'executive branch'}, 'head of government', 'Radu Vasile']
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { VALUES ( ?s ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:executive_branch ) } . ?g rdf:type ?s }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1056557 Q255022
P488
Q22687
USER
Which banks are Mugur Isărescu or Paolo Baffi a chairperson of ?
OR((c(Q22687),P488,Q255022), (c(Q22687),P488,Q1056557))
action filter_type
action union
action find_reverse
entity Q255022
relation P488
action find_reverse
entity Q1056557
relation P488
type Q22687
{'OR': [[{'concept': 'Q22687'}, 'P488', 'Q255022'], [{'concept': 'Q22687'}, 'P488', 'Q1056557']]}
SELECT DISTINCT ?b WHERE { { { ?b property:P488 resource:Q255022 } UNION { ?b property:P488 resource:Q1056557 } } . ?b rdf:type ontology:Q22687 }
Paolo Baffi Mugur Isărescu
action filter_type
action union
action find_reverse
entity Mugur Isărescu
relation chairperson
action find_reverse
entity Paolo Baffi
relation chairperson
type bank
{'OR': [[{'concept': 'bank'}, 'chairperson', 'Mugur Isărescu'], [{'concept': 'bank'}, 'chairperson', 'Paolo Baffi']]}
SELECT DISTINCT ?b WHERE { { { ?b property:chairperson resource:Mugur_Isărescu } UNION { ?b property:chairperson resource:Paolo_Baffi } } . ?b rdf:type ontology:bank }
[]
bank
Q967861 Q806176
SYSTEM
National Bank of Romania, Banca d'Italia
Q967861 Q806176
OR((c(Q22687),P488,Q255022), (c(Q22687),P488,Q1056557))
action filter_type
action union
action find_reverse
entity Q255022
relation P488
action find_reverse
entity Q1056557
relation P488
type Q22687
[ANSWERS] are Mugur Isărescu or Paolo Baffi a chairperson of
{'OR': [[{'concept': 'Q22687'}, 'P488', 'Q255022'], [{'concept': 'Q22687'}, 'P488', 'Q1056557']]}
SELECT DISTINCT ?b WHERE { { { ?b property:P488 resource:Q255022 } UNION { ?b property:P488 resource:Q1056557 } } . ?b rdf:type ontology:Q22687 }
National Bank of Romania Banca d'Italia
National Bank of Romania and Banca d'Italia are Mugur Isărescu or Paolo Baffi a chairperson of
National Bank of Romania Banca d'Italia
action filter_type
action union
action find_reverse
entity Mugur Isărescu
relation chairperson
action find_reverse
entity Paolo Baffi
relation chairperson
type bank
{'OR': [[{'concept': 'bank'}, 'chairperson', 'Mugur Isărescu'], [{'concept': 'bank'}, 'chairperson', 'Paolo Baffi']]}
SELECT DISTINCT ?b WHERE { { { ?b property:chairperson resource:Mugur_Isărescu } UNION { ?b property:chairperson resource:Paolo_Baffi } } . ?b rdf:type ontology:bank }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q36687 Q126671
P6 P1001
Q35798
USER
Which executive branches are Nicolae Văcăroiu the head of the goverment of or preside the jurisdiction over Victoria ?
OR((c(Q35798),P6,Q126671), (c(Q35798),P1001,Q36687))
action filter_type
action union
action find_reverse
entity Q126671
relation P6
action find_reverse
entity Q36687
relation P1001
type Q35798
{'OR': [[{'concept': 'Q35798'}, 'P6', 'Q126671'], [{'concept': 'Q35798'}, 'P1001', 'Q36687']]}
SELECT DISTINCT ?f WHERE { { { ?f property:P6 resource:Q126671 } UNION { ?f property:P1001 resource:Q36687 } } . ?f rdf:type ontology:Q35798 }
Victoria Nicolae Văcăroiu
action filter_type
action union
action find_reverse
entity Nicolae Văcăroiu
relation head of government
action find_reverse
entity Victoria
relation applies to jurisdiction
type executive branch
{'OR': [[{'concept': 'executive branch'}, 'head of government', 'Nicolae Văcăroiu'], [{'concept': 'executive branch'}, 'applies to jurisdiction', 'Victoria']]}
SELECT DISTINCT ?f WHERE { { { ?f property:head_of_government resource:Nicolae_Văcăroiu } UNION { ?f property:applies_to_jurisdiction resource:Victoria } } . ?f rdf:type ontology:executive_branch }
[]
executive branch
Q4730858 Q7944914 Q6965142 Q7240534 Q4953744 Q5452933 Q7443357 Q7795756 Q8563351 Q4940117
SYSTEM
Some of them are Allan Ministry, Văcăroiu I Cabinet, Napthine Ministry, Prendergast Ministry, Bracks Ministry, First Dunstan Ministry, Second Hollway Ministry, Thompson Ministry, First Hogan Ministry, Bolte Ministry
Q8563351 Q6965142 Q4848466 Q18712108 Q5644508 Q7443357 Q7443256 Q4730858 Q4953744 Q4978797 Q7795756 Q6723273 Q5452584 Q7944914 Q7443148 Q4940117 Q7240534 Q6415930 Q5452933 Q7784792
OR((c(Q35798),P6,Q126671), (c(Q35798),P1001,Q36687))
action filter_type
action union
action find_reverse
entity Q126671
relation P6
action find_reverse
entity Q36687
relation P1001
type Q35798
[ANSWERS] are Nicolae Văcăroiu the head of the goverment of or preside the jurisdiction over Victoria
{'OR': [[{'concept': 'Q35798'}, 'P6', 'Q126671'], [{'concept': 'Q35798'}, 'P1001', 'Q36687']]}
SELECT DISTINCT ?f WHERE { { { ?f property:P6 resource:Q126671 } UNION { ?f property:P1001 resource:Q36687 } } . ?f rdf:type ontology:Q35798 }
First Hogan Ministry Napthine Ministry Baillieu Ministry Andrews Ministry Hamer Ministry Second Hollway Ministry Second Dunstan Ministry Allan Ministry Bracks Ministry Brumby Ministry Thompson Ministry Macfarlan Ministry First Cain Ministry Văcăroiu I Cabinet Second Cain Ministry Bolte Ministry Prendergast Ministry Kirner Ministry First Dunstan Ministry Third Cain Ministry
Allan Ministry, Văcăroiu I Cabinet, Napthine Ministry, Prendergast Ministry, Bracks Ministry, First Dunstan Ministry, Second Hollway Ministry, Thompson Ministry, First Hogan Ministry and Bolte Ministry are Nicolae Văcăroiu the head of the goverment of or preside the jurisdiction over Victoria
Allan Ministry Văcăroiu I Cabinet Napthine Ministry Prendergast Ministry Bracks Ministry First Dunstan Ministry Second Hollway Ministry Thompson Ministry First Hogan Ministry Bolte Ministry
action filter_type
action union
action find_reverse
entity Nicolae Văcăroiu
relation head of government
action find_reverse
entity Victoria
relation applies to jurisdiction
type executive branch
{'OR': [[{'concept': 'executive branch'}, 'head of government', 'Nicolae Văcăroiu'], [{'concept': 'executive branch'}, 'applies to jurisdiction', 'Victoria']]}
SELECT DISTINCT ?f WHERE { { { ?f property:head_of_government resource:Nicolae_Văcăroiu } UNION { ?f property:applies_to_jurisdiction resource:Victoria } } . ?f rdf:type ontology:executive_branch }
[]