Simple Question (Direct)
Simple Question
Q7347211
P1412
Q34770
USER
Which language can Robert MacDonald understand ?
(Q7347211,P1412,c(Q34770))
action filter_type
action find
entity Q7347211
relation P1412
type Q34770
['Q7347211', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q7347211 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Robert MacDonald
action filter_type
action find
entity Robert MacDonald
relation languages spoken, written or signed
type language
['Robert MacDonald', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Robert_MacDonald property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7347211,P1412,c(Q34770))
action filter_type
action find
entity Q7347211
relation P1412
type Q34770
Robert MacDonald can understand the [ANSWER]
['Q7347211', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q7347211 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
English
Robert MacDonald can understand the English
English
action filter_type
action find
entity Robert MacDonald
relation languages spoken, written or signed
type language
['Robert MacDonald', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Robert_MacDonald property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7347211
P39
Q12737077
USER
What was the position held by Robert MacDonald ?
(Q7347211,P39,c(Q12737077))
action filter_type
action find
entity Q7347211
relation P39
type Q12737077
['Q7347211', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q7347211 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Robert MacDonald
action filter_type
action find
entity Robert MacDonald
relation position held
type occupation
['Robert MacDonald', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Robert_MacDonald property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q7347211,P39,c(Q12737077))
action filter_type
action find
entity Q7347211
relation P39
type Q12737077
The position held by Robert MacDonald was a [ANSWER]
['Q7347211', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q7347211 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
The position held by Robert MacDonald was a Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom
action filter_type
action find
entity Robert MacDonald
relation position held
type occupation
['Robert MacDonald', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Robert_MacDonald property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q16707842 Q62096
P39
Q502895
USER
Was Carl Correns responsible for occupying the position of that occupation ?
(Q62096,P39,Q16707842)
action is_in
entity Q62096
action find
entity Q16707842
relation P39
['Q62096', 'P39', 'Q16707842']
ASK WHERE { resource:Q16707842 property:P39 resource:Q62096 }
Member of Parliament in the United Kingdom Carl Correns
action is_in
entity Carl Correns
action find
entity Member of Parliament in the United Kingdom
relation position held
['Carl Correns', 'position held', 'Member of Parliament in the United Kingdom']
ASK WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:position_held resource:Carl_Correns }
[]
common name
SYSTEM
NO
(Q62096,P39,Q16707842)
action is_in
entity Q62096
action find
entity Q16707842
relation P39
[ANSWER]
['Q62096', 'P39', 'Q16707842']
ASK WHERE { resource:Q16707842 property:P39 resource:Q62096 }
No
action is_in
entity Carl Correns
action find
entity Member of Parliament in the United Kingdom
relation position held
['Carl Correns', 'position held', 'Member of Parliament in the United Kingdom']
ASK WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:position_held resource:Carl_Correns }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1860 Q5329170 Q1346342
P361
Q5962346
USER
Is English a portion of Anglo-Frisian languages and Anglic languages ?
(Q1860,P361,Q5329170) (Q1860,P361,Q1346342)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q1346342
relation P361
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q5329170 . resource:Q1860 property:P361 resource:Q1346342 }
English Anglo-Frisian languages Anglic languages
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity Anglic languages
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Anglo-Frisian_languages . resource:English property:part_of resource:Anglic_languages }
[]
classification scheme
SYSTEM
YES
(Q1860,P361,Q5329170) (Q1860,P361,Q1346342)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q1346342
relation P361
[ANSWER]
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q5329170 . resource:Q1860 property:P361 resource:Q1346342 }
Yes
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity Anglic languages
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Anglo-Frisian_languages . resource:English property:part_of resource:Anglic_languages }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1860
P361
Q5962346
USER
How many classification schemes are English a component of ?
(Q1860,P361,c(Q5962346))
action count
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q1860 property:P361 ?f . ?f rdf:type ontology:Q5962346 }
English
action count
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:English property:part_of ?f . ?f rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
2
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action count
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWER]
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q1860 property:P361 ?f . ?f rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
2
action count
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:English property:part_of ?f . ?f rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q20711
P361
Q5962346
USER
And how about Galice language?
(Q20711,P361,c(Q5962346))
action count
action filter_type
action find
entity Q20711
relation P361
type Q5962346
['Q20711', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q20711 property:P361 ?v . ?v rdf:type ontology:Q5962346 }
Galice language
action count
action filter_type
action find
entity Galice language
relation part of
type classification scheme
['Galice language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Galice_language property:part_of ?v . ?v rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
1
Q20654
(Q20711,P361,c(Q5962346))
action count
action filter_type
action find
entity Q20711
relation P361
type Q5962346
[ANSWER]
['Q20711', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Q20711 property:P361 ?v . ?v rdf:type ontology:Q5962346 }
Pacific Coast Athabaskan languages
1
action count
action filter_type
action find
entity Galice language
relation part of
type classification scheme
['Galice language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { resource:Galice_language property:part_of ?v . ?v rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7937974
Q5962346
USER
And what about Viya language?
(Q7937974,P361,c(Q5962346))
action count
action filter_type
action find
entity Q7937974
relation P361
type Q5962346
['Q7937974', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Q7937974 property:P361 ?u . ?u rdf:type ontology:Q5962346 }
Viya language
action count
action filter_type
action find
entity Viya language
relation part of
type classification scheme
['Viya language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Viya_language property:part_of ?u . ?u rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
1
(Q7937974,P361,c(Q5962346))
action count
action filter_type
action find
entity Q7937974
relation P361
type Q5962346
[ANSWER]
['Q7937974', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Q7937974 property:P361 ?u . ?u rdf:type ontology:Q5962346 }
1
action count
action filter_type
action find
entity Viya language
relation part of
type classification scheme
['Viya language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Viya_language property:part_of ?u . ?u rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of around 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P417 ?l . ?l rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 } GROUP BY ?l } . FILTER ( ?t = 3 ) }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:patron_saint ?l . ?l rdf:type ontology:common_name . ?k rdf:type ontology:occupation } GROUP BY ?l } . FILTER ( ?t = 3 ) }
[]
common name occupation
Q128538 Q192816 Q200895
SYSTEM
Luke the Evangelist, Saint Barbara, Agatha of Sicily
Q128538 Q192816 Q200895
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWERS] are the patron saint of around 3 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P417 ?l . ?l rdf:type ontology:Q502895 . ?k rdf:type ontology:Q12737077 } GROUP BY ?l } . FILTER ( ?t = 3 ) }
Luke the Evangelist Saint Barbara Agatha of Sicily
Luke the Evangelist, Saint Barbara and Agatha of Sicily are the patron saint of around 3 occupations
Luke the Evangelist Saint Barbara Agatha of Sicily
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:patron_saint ?l . ?l rdf:type ontology:common_name . ?k rdf:type ontology:occupation } GROUP BY ?l } . FILTER ( ?t = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9045502
P921
Q1914636
USER
Which activities have member of the Parliament of Norway as their principal topic ?
(c(Q1914636),P921,Q9045502)
action filter_type
action find_reverse
entity Q9045502
relation P921
type Q1914636
[{'concept': 'Q1914636'}, 'P921', 'Q9045502']
SELECT DISTINCT ?p WHERE { ?p property:P921 resource:Q9045502 . ?p rdf:type ontology:Q1914636 }
member of the Parliament of Norway
action filter_type
action find_reverse
entity member of the Parliament of Norway
relation main subject
type activity
[{'concept': 'activity'}, 'main subject', 'member of the Parliament of Norway']
SELECT DISTINCT ?p WHERE { ?p property:main_subject resource:member_of_the_Parliament_of_Norway . ?p rdf:type ontology:activity }
[]
activity
Q23925373 Q23925368 Q23940178
SYSTEM
Tallak Lindstøl, Stortinget og statsraadet: 1814-1914. B. 1 D. 2 : Biografier L-Ø : samt tillæg, Tallak Lindstøl, Stortinget og statsraadet: 1814-1914. B. 1 D. 1 : Biografier A-K, Vilhelm Haffner, Stortinget og statsrådet : 1915-1945. B. 1 : Biografier : med tillegg til Tallak Lindstøl: Stortinget og Statsraadet 1814-1914
Q23925373 Q23925368 Q23940178
(c(Q1914636),P921,Q9045502)
action filter_type
action find_reverse
entity Q9045502
relation P921
type Q1914636
[ANSWERS]
[{'concept': 'Q1914636'}, 'P921', 'Q9045502']
SELECT DISTINCT ?p WHERE { ?p property:P921 resource:Q9045502 . ?p rdf:type ontology:Q1914636 }
Tallak Lindstøl, Stortinget og statsraadet: 1814-1914. B. 1 D. 2 : Biografier L-Ø : samt tillæg Tallak Lindstøl, Stortinget og statsraadet: 1814-1914. B. 1 D. 1 : Biografier A-K Vilhelm Haffner, Stortinget og statsrådet : 1915-1945. B. 1 : Biografier : med tillegg til Tallak Lindstøl: Stortinget og Statsraadet 1814-1914
Tallak Lindstøl, Stortinget og statsraadet: 1814-1914. B. 1 D. 2 : Biografier L-Ø : samt tillæg, Tallak Lindstøl, Stortinget og statsraadet: 1814-1914. B. 1 D. 1 : Biografier A-K and Vilhelm Haffner, Stortinget og statsrådet : 1915-1945. B. 1 : Biografier : med tillegg til Tallak Lindstøl: Stortinget og Statsraadet 1814-1914 have member of the Parliament of Norway as their principal topic
Tallak Lindstøl, Stortinget og statsraadet: 1814-1914. B. 1 D. 2 : Biografier L-Ø : samt tillæg Tallak Lindstøl, Stortinget og statsraadet: 1814-1914. B. 1 D. 1 : Biografier A-K Vilhelm Haffner, Stortinget og statsrådet : 1915-1945. B. 1 : Biografier : med tillegg til Tallak Lindstøl: Stortinget og Statsraadet 1814-1914
action filter_type
action find_reverse
entity member of the Parliament of Norway
relation main subject
type activity
[{'concept': 'activity'}, 'main subject', 'member of the Parliament of Norway']
SELECT DISTINCT ?p WHERE { ?p property:main_subject resource:member_of_the_Parliament_of_Norway . ?p rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16707842
P1001
Q15617994
USER
Which administrative territory comes under the jurisdiction of Member of Parliament in the United Kingdom ?
(Q16707842,P1001,c(Q15617994))
action filter_type
action find
entity Q16707842
relation P1001
type Q15617994
['Q16707842', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q16707842 property:P1001 ?l . ?l rdf:type ontology:Q15617994 }
Member of Parliament in the United Kingdom
action filter_type
action find
entity Member of Parliament in the United Kingdom
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of Parliament in the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:applies_to_jurisdiction ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q16707842,P1001,c(Q15617994))
action filter_type
action find
entity Q16707842
relation P1001
type Q15617994
[ANSWER] comes under the jurisdiction of Member of Parliament in the [ANSWER]
['Q16707842', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q16707842 property:P1001 ?l . ?l rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom comes under the jurisdiction of Member of Parliament in the United Kingdom
United Kingdom
action filter_type
action find
entity Member of Parliament in the United Kingdom
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of Parliament in the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:applies_to_jurisdiction ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P610
Q16889133
USER
Which is the highest peak of that administrative territory ?
(Q145,P610,c(Q16889133))
action filter_type
action find
entity Q145
relation P610
type Q16889133
['Q145', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?g WHERE { resource:Q145 property:P610 ?g . ?g rdf:type ontology:Q16889133 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation highest point
type class
['United Kingdom', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?g WHERE { resource:United_Kingdom property:highest_point ?g . ?g rdf:type ontology:class }
[]
class
Q104674
SYSTEM
Ben Nevis
Q104674
(Q145,P610,c(Q16889133))
action filter_type
action find
entity Q145
relation P610
type Q16889133
The highest peak of that administrative territory is Mount [ANSWER]
['Q145', 'P610', {'concept': 'Q16889133'}]
SELECT DISTINCT ?g WHERE { resource:Q145 property:P610 ?g . ?g rdf:type ontology:Q16889133 }
Ben Nevis
The highest peak of that administrative territory is Mount Ben Nevis
Ben Nevis
action filter_type
action find
entity United Kingdom
relation highest point
type class
['United Kingdom', 'highest point', {'concept': 'class'}]
SELECT DISTINCT ?g WHERE { resource:United_Kingdom property:highest_point ?g . ?g rdf:type ontology:class }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with atleast 11 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 11
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?u ) WHERE { ?m property:P530 ?j . ?m rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?u >= 11 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?u ) WHERE { ?m property:diplomatic_relation ?j . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?u >= 11 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q142 Q145 Q148 Q159 Q155 Q30 Q38 Q17
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 11
[ANSWERS] hold diplomatic relationship with atleast 11 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?u ) WHERE { ?m property:P530 ?j . ?m rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?u >= 11 ) }
Israel Yemen France United Kingdom People's Republic of China Russia Brazil United States of America Italy Japan
Italy, Brazil and United States of America hold diplomatic relationship with atleast 11 administrative territories
Italy Brazil United States of America
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?u ) WHERE { ?m property:diplomatic_relation ?j . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?u >= 11 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q30 Q38
P27
Q502895
USER
Which people are a native of Italy and United States of America ?
AND((c(Q502895),P27,Q38), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q38
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q38'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?x WHERE { ?x property:P27 resource:Q30 . ?x property:P27 resource:Q38 . ?x rdf:type ontology:Q502895 }
United States of America Italy
action filter_type
action intersection
action find_reverse
entity Italy
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Italy'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?x WHERE { ?x property:country_of_citizenship resource:United_States_of_America . ?x property:country_of_citizenship resource:Italy . ?x rdf:type ontology:common_name }
[]
common name
Q16014521 Q15077451 Q3992579 Q7932647 Q173247 Q171312 Q1463338 Q16750615 Q3765534 Q1963291
SYSTEM
Some of them are Tami Mauriello, Giuliana Tesoro, Tomaso Poggio, Vinnie Curto, Alfonso Thiele, Mario Andretti, Travis Mays, Guido Trento, Giorgio La Piana, Nadia Urbinati
Q788506 Q3809178 Q464912 Q5485664 Q3750147 Q3928917 Q2437001 Q17351890 Q16014110 Q3900852 Q3618313 Q3931229 Q1373312 Q435988 Q268166 Q519021 Q3809288 Q3651411 Q1264331 Q6267132 Q373491 Q15998211 Q455280 Q327660 Q8104495 Q186481 Q3943047 Q7027549 Q3905256 Q5082508 Q3771213 Q21129963 Q4773640 Q121995 Q698369 Q1634951 Q5335908 Q141775 Q3809142 Q191828 Q1086502 Q354402 Q6214439 Q3972517 Q6476470 Q19321847 Q3693322 Q3620029 Q3901337 Q3856295 Q456966 Q3992579 Q6699941 Q16559574 Q2852847 Q531843 Q3808714 Q3756762 Q3897824 Q4711951 Q443076 Q16875330 Q282523 Q4761434 Q208357 Q2916038 Q1686261 Q3807798 Q5490940 Q1402650 Q3618506 Q2032354 Q16014521 Q3876023 Q3764458 Q5524639 Q185007 Q15929919 Q1909172 Q3958215 Q3946015 Q3645351 Q6769560 Q3806785 Q3624553 Q3644505 Q782020 Q3675810 Q3675538 Q1507625 Q3903152 Q3929797 Q513403 Q540239 Q3056397 Q3644371 Q3694294 Q1052416 Q3856162 Q7378571 Q3660527 Q16657929 Q3806703 Q16013521 Q4956762 Q1839503 Q1243961 Q3939571 Q3907867 Q3185211 Q7353718 Q3764660 Q1528133 Q4354918 Q2655681 Q360145 Q8753 Q3852377 Q18758581 Q311993 Q4716267 Q3617884 Q3666641 Q1451207 Q526580 Q2265638 Q5240456 Q15998218 Q1963291 Q16007858 Q3749371 Q2655724 Q2583811 Q357762 Q16019448 Q3930643 Q5291255 Q205850 Q2295115 Q1463338 Q7313621 Q3428674 Q109553 Q377558 Q20789791 Q3849452 Q1239381 Q3015284 Q555590 Q16555810 Q3547813 Q3809231 Q709936 Q209938 Q3765534 Q4355329 Q730889 Q3847046 Q726142 Q3857418 Q926554 Q579241 Q15077451 Q3849975 Q5532688 Q4003416 Q716493 Q562149 Q3638183 Q2344636 Q1102536 Q1138514 Q3839914 Q596374 Q7181751 Q16616182 Q1528124 Q3943088 Q3724000 Q379461 Q16750615 Q16150000 Q368827 Q7403271 Q954038 Q2317903 Q330481 Q470656 Q3701247 Q573539 Q205667 Q12635510 Q3993030 Q3721459 Q3701496 Q15976350 Q2724800 Q7355749 Q2756232 Q171312 Q2442890 Q186194 Q3858819 Q3808430 Q521172 Q3762899 Q3933125 Q460376 Q3619972 Q1174193 Q16012605 Q3376388 Q616623 Q3098554 Q1347418 Q3885953 Q367277 Q366166 Q3839797 Q535430 Q3949301 Q5791072 Q3218084 Q3956200 Q15068680 Q251472 Q6214569 Q4762960 Q3702134 Q1165966 Q97857 Q1281335 Q4776661 Q6214376 Q1369720 Q926054 Q3856275 Q2259896 Q3701394 Q447895 Q368744 Q5081286 Q3809741 Q15136825 Q23498162 Q173247 Q1673661 Q432363 Q454699 Q51492 Q3638284 Q2829309 Q6374156 Q4762367 Q6788470 Q543004 Q24256741 Q3313523 Q5001604 Q27436698 Q3617145 Q4007753 Q15634891 Q533881 Q548912 Q2551765 Q3660324 Q16539480 Q3991507 Q3856739 Q3756765 Q3764465 Q239886 Q466607 Q175645 Q7932647 Q3605728 Q453807 Q18638563 Q3830251 Q3993217 Q6514885 Q16658169 Q708639 Q7822641 Q3938456 Q270126 Q2166604 Q514294 Q3446248 Q1119723 Q712314 Q1296033 Q505358
AND((c(Q502895),P27,Q38), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q38
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] are a native of Italy and United States of America
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q38'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?x WHERE { ?x property:P27 resource:Q30 . ?x property:P27 resource:Q38 . ?x rdf:type ontology:Q502895 }
Anthony Maestranzi Jon D'Agostino Andrew Howe Frank Cappuccino Francesco Lardone Rae Lin D'Alie Tito Vuolo Emily Correal Joseph LaMotta Peter Gomez Anselma Dell'Olio Rebecca Ream Eugenio Giannini Brunilde Sismondo Ridgway Lorenzo Da Ponte Francesco Bonami John Gambino Camilla Trinchieri Stephen Spinella Johnny LoBianco Geno Auriemma Frankie Conley Barbara Bouchet Mike Bongiorno Argentina Hills Riccardo Giacconi Ryan Amoroso Nick Mike-Mayer Pino Daeni Charles Sieger Giuseppe Pettine Enrico Cerracchio Anthony Veranis Guido Calabresi Opilio Rossi Gaetano Merola Eddie Campagnuolo Maria Eisner John Carta Marisa Tomei Christopher Bartolone Adele Comandini Joey LaMotta Stefano Giaccone William Edmunds Emma Previato Coralina Cataldi-Tassoni Antonio Petrocelli Phil Melillo Michael Williams Francesco Quinn Tomaso Poggio Luigi Antonini Giorgio Polacco Anthony Dobbins Ugo Stille Joe Trapani Gabriella Pession Patrizia Lopez Alberto Bimboni Frank Nitti Eugene Scalia Mario Pei Andy Varipapa Lucky Luciano Roberto Sabatino Lopez Jeff Blynn Jeffrey Viggiano Frankie Covelli Giuseppe Mario Bellanca Anthony Lima Pietro Belluschi Tami Mauriello Nick Mayer Gina Fedon Gary Balletto Rita Levi-Montalcini Angelo Caloiaro Matthew de Marchi Sesto Prete Lokanatha Brooke Reves Mark Saccomanno Jami Montagnino Arturo Giovannitti Brian Shorter Sergio Franchi Christoph Baker Chris Mortellaro Leonard Mann Piero Anversa Ralph Marterie Brian Oliver Bargil Pixner Eric Schmieder Brett Blizzard Corrado Parducci Giorgio Santelli Michael Fiaschetti Rugger Ardizoia Carole Beebe Tarantelli Kevin DeVergilio James Plumeri Antonio Salemme Brandon Bender Massimo Freccia Fabio Lanzoni Rocco B. Commisso Pompeo Coppini Joseph Lanza Rocco DiSiglio Gino Marinuzzi jr. Giuseppe Attardi Joey Gilbert Francis Eugene Resta Charles Ponzi Enrico Fermi Maud Rosenbaum Camillo Artom Joel McHale Alessandra Buonanno Annagrazia Calabria Charley Fusari François Trèves Andy Luotto Silvia Fontana David Tomassoni Joseph Deluca Nadia Urbinati Frank Pasquale Pellegreno Francesca Braggiotti Vittorio Zucconi Cesare Emiliani Danny Huston Johnny Lira Ray Tutt Domiziano Arcangeli Franco Modigliani Shaun Stonerook Travis Mays Renzo Cesana Julie Vollertsen Renato Dulbecco Mario Castelnuovo-Tedesco Peter Savage Mark Campanaro Don Orlando Danny Miller Vincent Gardenia Ferruccio Giannini Ugo Micheli John Ebeling Joseph Bonanno Benito Garozzo Giorgio La Piana Anthony Bonsante Gaetano Salvemini Marguerite Caetani Giancarlo Esposito Mike Mastrullo Joe Gallo Clyde Geronimi Giuliana Tesoro Marte Alexander Generoso Pope Umberto Lenzini Sol Polito Anna Maria Picarelli Beniamino Bufano Mike Sylvester Melissa Satta Craig Callahan Bull Montana Maurice Taylor Phil Caliva Tommaso Bordonaro Giuseppe Antonio Borgese Ryan Pettinella Emanuele Secci Antonio Sabàto Jr. Guido Trento Ryan Arcidiacono Alfred Polizzi Sal DeRosa Michael Souza Massimo Vignelli Ignazio Lupo Paul G. Comba Damian Surma Anthony Lobello, Jr. Salvador Luria Lil Debbie Toney Penna Elena Molinari Dane DiLiegro Claudia Durastanti Travis Diener Rocky Castellani Pietro Frosini Mario Andretti Tony Tuzzolino Giorgio de Santillana Mirella Levi D'Ancona Jimmy Lanza Franco Columbu Giancarlo Marcaccini Renée Felton Tony Gaudio Antonio Orfanò David Delfino Joseph Glimco Pete Latzo Dante Calabria Ross Cheever Joseph Stella Orlando Johnson Fabiano Caruana Johnny Torrio Luigi Lucioni Frank Serpico Sante Bartolai Melissa Fazio Larry Middleton Sergio Notarnicola Max Ascoli Corey Albano Joey Spina Angelo Savoldi Danielle Viglione Dario V. Simoni Leonardo Olschki Giuliana Rancic Antonio Giordano Joey Giambra Frank Sivero Mauro Fiore Michael Supnick Silvano Arieti Dan Werner Giovanna Melandri Charles Atlas Charles Novi Johnny Parker Leonard Covello Dominic Callori Alfonso Thiele Marcello Albani Michele Molese Rocky Graziano Frank Capra Bennie Bonacio Al Campanis Kasey Olemberger Angela Bambace Matt Ceriani Nicholas Musuraca Richard Aaker Trythall Mike Rossman Bushy Graham Giulio de Blaas Angelo Patri Valentino Maxwell Gerard Ciarcia Dan Mitrione Gino Gardassanich Harry Bertoia Carmen Scarpitta Chelsea Furlani Timothy Hepp Michele Pane Gabriella Scalise Gina Mastrogiacomo Licia Albanese Romaine Brooks Louis Handley Vinnie Curto Adriano Garsia Lina Pagliughi Bruno Gunn Leo J. Wollemborg Tony Crescitelli Lee Sala Armand Curly Wright Mike D'Antoni Tony Janiro Robert W. Mann Allison Miller Rosario Candela Clarissa Burt Lidia Bastianich Simon Rodia Monty Banks Willie Moretti Andrew Viterbi
Tami Mauriello, Giuliana Tesoro, Tomaso Poggio, Vinnie Curto, Alfonso Thiele, Mario Andretti, Travis Mays, Guido Trento, Giorgio La Piana and Nadia Urbinati are a native of Italy and United States of America
Tami Mauriello Giuliana Tesoro Tomaso Poggio Vinnie Curto Alfonso Thiele Mario Andretti Travis Mays Guido Trento Giorgio La Piana Nadia Urbinati
action filter_type
action intersection
action find_reverse
entity Italy
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Italy'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?x WHERE { ?x property:country_of_citizenship resource:United_States_of_America . ?x property:country_of_citizenship resource:Italy . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q13516675
P725
Q502895 Q386724
USER
Which works had their voice dubbing done by approximately the same number of people as Sakura Trick ?
(c(Q386724),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q13516675
relation P725
type Q386724
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?j ) WHERE { ?f property:P725 ?i . ?f rdf:type ontology:Q386724 . ?i rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q13516675 property:P725 ?w . ?w rdf:type ontology:Q386724 } } . FILTER ( ?j = ?x ) }
Sakura Trick
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Sakura Trick
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?j ) WHERE { ?f property:voice_actor ?i . ?f rdf:type ontology:work . ?i rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Sakura_Trick property:voice_actor ?w . ?w rdf:type ontology:work } } . FILTER ( ?j = ?x ) }
[]
common name work
Q13516675 Q27627540 Q26829863
SYSTEM
Sakura Trick, Doctor Strange (Doctor Extraño), Angry Birds: La película
Q27627540 Q24175397 Q26715049 Q25858085 Q13516675 Q26829863
(c(Q386724),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q13516675
relation P725
type Q386724
[ANSWERS] had their voice dubbing done by approximately the same number of people as Sakura Trick
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?j ) WHERE { ?f property:P725 ?i . ?f rdf:type ontology:Q386724 . ?i rdf:type ontology:Q502895 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q13516675 property:P725 ?w . ?w rdf:type ontology:Q386724 } } . FILTER ( ?j = ?x ) }
Doctor Strange (Doctor Extraño) Capitán América: El primer vengador Peter y el dragón Alicia a través del espejo Sakura Trick Angry Birds: La película
Sakura Trick, Doctor Strange (Doctor Extraño) and Angry Birds: La película had their voice dubbing done by approximately the same number of people as Sakura Trick
Sakura Trick Doctor Strange (Doctor Extraño) Angry Birds: La película
action approx
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Sakura Trick
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?j ) WHERE { ?f property:voice_actor ?i . ?f rdf:type ontology:work . ?i rdf:type ontology:common_name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Sakura_Trick property:voice_actor ?w . ?w rdf:type ontology:work } } . FILTER ( ?j = ?x ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P101
Q1914636 Q21114848 Q502895
USER
How many activities are the area of atmost 8 magazine genres or people ?
(c(Q21114848)|c(Q502895),P101,c(Q1914636))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P101
type Q1914636
type Q21114848
action find_reverse_tuple_counts
relation P101
type Q1914636
type Q502895
value 8
[[{'concept': 'Q21114848'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { FILTER ( ?c <= 8 ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?s WHERE { VALUES ( ?t ) { ( ontology:Q21114848 ) ( ontology:Q502895 ) } . ?w rdf:type ?t } GROUP BY ?s } }
action count
action atmost
action union
action find_reverse_tuple_counts
relation field of work
type activity
type magazine genre
action find_reverse_tuple_counts
relation field of work
type activity
type common name
value 8
[[{'concept': 'magazine genre'}, {'concept': 'common name'}], 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { FILTER ( ?c <= 8 ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?s WHERE { VALUES ( ?t ) { ( ontology:magazine_genre ) ( ontology:common_name ) } . ?w rdf:type ?t } GROUP BY ?s } }
[]
activity magazine genre common name
SYSTEM
101
Q1069 Q309823 Q15991269 Q5569949 Q914395 Q7572553 Q1196009 Q7202 Q7205 Q10566551 Q27997 Q2485457 Q206814 Q12271 Q159964 Q2144042 Q8421 Q10979515 Q190149 Q83267 Q159595 Q27908 Q1235196 Q22826122 Q11372 Q163082 Q1089246 Q12015335 Q185727 Q11034 Q34187 Q1392782 Q928357 Q11650 Q184485 Q12969198 Q300920 Q83371 Q3046459 Q835153 Q50675 Q36649 Q49389 Q6502154 Q119190 Q16387 Q1587903 Q63100 Q337935 Q897511 Q5367 Q124946 Q16861871 Q192296 Q853077 Q1562096 Q1046801 Q7173 Q2138622 Q10737 Q484591 Q41923 Q514 Q36389 Q83357 Q843601 Q193210 Q1261491 Q857102 Q7168 Q160398 Q177777 Q43114 Q190993 Q627716 Q9350 Q862072 Q222749 Q243606 Q11467 Q80993 Q763631 Q212105 Q836610 Q8789 Q189594 Q192386 Q602507 Q7141 Q494452 Q373557 Q5567091 Q131683 Q781492 Q1369650 Q3764113 Q31728 Q25261 Q52109 Q931309 Q682010
(c(Q21114848)|c(Q502895),P101,c(Q1914636))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P101
type Q1914636
type Q21114848
action find_reverse_tuple_counts
relation P101
type Q1914636
type Q502895
value 8
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { FILTER ( ?c <= 8 ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?s WHERE { VALUES ( ?t ) { ( ontology:Q21114848 ) ( ontology:Q502895 ) } . ?w rdf:type ?t } GROUP BY ?s } }
geology open science amateur sport Glitch art Celtic art Space advocacy Big Science molecular biology paleontology safety Celtic studies science education civil aviation architecture typography Process engineering aeronautics general economics photogrammetry crime distance education music education documentation science commentary physical chemistry petrology Studio glass engineering disciplines amateur service printing religious studies gnomonics bronze sculpture electronics performing arts Paper cutting eSports seismology Earth system science medical examination historiography visual arts tourism exploration medieval studies information science human science urban design necromancy cryptanalysis motorsport gardening job training weaving mathematics education ironwork turntablism marine biology nutrition suicide natural history yodeling anatomy taekwondo origami health science skydiving male prostitution software design histology crystallography logistics aikido malacology military aviation yoga conchology acting industrial design metallurgy software engineering textile design special education signals intelligence cryptography Islamic art military science hand-to-hand combat cell biology blazonry aerobatics glass art embryology Optogenetics professional sport choreography public administration meteorology geomorphology medical imaging video art
101
action count
action atmost
action union
action find_reverse_tuple_counts
relation field of work
type activity
type magazine genre
action find_reverse_tuple_counts
relation field of work
type activity
type common name
value 8
[[{'concept': 'magazine genre'}, {'concept': 'common name'}], 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { FILTER ( ?c <= 8 ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) ?s WHERE { VALUES ( ?t ) { ( ontology:magazine_genre ) ( ontology:common_name ) } . ?w rdf:type ?t } GROUP BY ?s } }
[]