Simple Question (Direct)
Simple Question
Q1701213
P39
Q12737077
USER
Which occupations were a position held by John Nicholas ?
(Q1701213,P39,c(Q12737077))
action filter_type
action find
entity Q1701213
relation P39
type Q12737077
['Q1701213', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1701213 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
John Nicholas
action filter_type
action find
entity John Nicholas
relation position held
type occupation
['John Nicholas', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:John_Nicholas property:position_held ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q13218630 Q18691526 Q18694588
SYSTEM
United States representative, member of the State Senate of New York, Member of the United States House of Representatives from Virginia
Q13218630 Q18691526 Q18694588
(Q1701213,P39,c(Q12737077))
action filter_type
action find
entity Q1701213
relation P39
type Q12737077
The [ANSWERS] were a position held by John Nicholas
['Q1701213', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1701213 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
United States representative member of the State Senate of New York Member of the United States House of Representatives from Virginia
The United States representative, member of the State Senate of New York and Member of the United States House of Representatives from Virginia were a position held by John Nicholas
United States representative member of the State Senate of New York Member of the United States House of Representatives from Virginia
action filter_type
action find
entity John Nicholas
relation position held
type occupation
['John Nicholas', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:John_Nicholas property:position_held ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q13218630 Q18691526 Q18694588
P17
Q15617994
USER
Which administrative territories are those occupations present in ?
(Q13218630,P17,c(Q15617994)) (Q18691526,P17,c(Q15617994)) (Q18694588,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q13218630', 'P17', {'concept': 'Q15617994'}] ['Q18691526', 'P17', {'concept': 'Q15617994'}] ['Q18694588', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . ?p property:P17 ?g . VALUES ( ?p ) { ( resource:Q13218630 ) ( resource:Q18691526 ) ( resource:Q18694588 ) } }
United States representative member of the State Senate of New York Member of the United States House of Representatives from Virginia
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['United States representative', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the State Senate of New York', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Member of the United States House of Representatives from Virginia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:country ?g . VALUES ( ?p ) { ( resource:United_States_representative ) ( resource:member_of_the_State_Senate_of_New_York ) ( resource:Member_of_the_United_States_House_of_Representatives_from_Virginia ) } }
[]
designation for an administrative territorial entity
Q30 Q30 Q30
SYSTEM
United States of America
Q30 Q30 Q30
(Q13218630,P17,c(Q15617994)) (Q18691526,P17,c(Q15617994)) (Q18694588,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those occupations are the [ANSWER], [ANSWER] and [ANSWER]
['Q13218630', 'P17', {'concept': 'Q15617994'}] ['Q18691526', 'P17', {'concept': 'Q15617994'}] ['Q18694588', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . ?p property:P17 ?g . VALUES ( ?p ) { ( resource:Q13218630 ) ( resource:Q18691526 ) ( resource:Q18694588 ) } }
United States of America United States of America United States of America
Those occupations are the United States of America, United States of America and United States of America
United States of America United States of America United States of America
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['United States representative', 'country', {'concept': 'designation for an administrative territorial entity'}] ['member of the State Senate of New York', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Member of the United States House of Representatives from Virginia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:country ?g . VALUES ( ?p ) { ( resource:United_States_representative ) ( resource:member_of_the_State_Senate_of_New_York ) ( resource:Member_of_the_United_States_House_of_Representatives_from_Virginia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P38
Q8142
USER
What is used as the currency of United States of America ?
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q8142 . resource:Q30 property:P38 ?o }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:currency . resource:United_States_of_America property:currency ?o }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
[ANSWER] is used as the currency of United States of America
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q8142 . resource:Q30 property:P38 ?o }
United States dollar
United States dollar is used as the currency of United States of America
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:currency . resource:United_States_of_America property:currency ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P1001
Q2712963
USER
Which abstract nouns apply to jurisdiction over that administrative territory ?
(c(Q2712963),P1001,Q4917)
action filter_type
action find_reverse
entity Q30
relation P1001
type Q2712963
[{'concept': 'Q2712963'}, 'P1001', 'Q4917']
SELECT DISTINCT ?d WHERE { ?d property:P1001 resource:Q30 . ?d rdf:type ontology:Q2712963 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation applies to jurisdiction
type abstract noun
[{'concept': 'abstract noun'}, 'applies to jurisdiction', 'United States dollar']
SELECT DISTINCT ?d WHERE { ?d property:applies_to_jurisdiction resource:United_States_of_America . ?d rdf:type ontology:abstract_noun }
[]
abstract noun
Q149789 Q4887441 Q16998920
SYSTEM
limited liability company, Benefit corporation, Low-profit limited liability company
Q4887441 Q16998920 Q6785141 Q6549542 Q7454814 Q149789
(c(Q2712963),P1001,Q4917)
action filter_type
action find_reverse
entity Q30
relation P1001
type Q2712963
[ANSWERS] apply to jurisdiction over that administrative territory
[{'concept': 'Q2712963'}, 'P1001', 'Q4917']
SELECT DISTINCT ?d WHERE { ?d property:P1001 resource:Q30 . ?d rdf:type ontology:Q2712963 }
Benefit corporation Low-profit limited liability company master limited partnership Limited liability limited partnership Series LLC limited liability company
Limited liability company, Benefit corporation and Low-profit limited liability company apply to jurisdiction over that administrative territory
limited liability company Benefit corporation Low-profit limited liability company
action filter_type
action find_reverse
entity United States of America
relation applies to jurisdiction
type abstract noun
[{'concept': 'abstract noun'}, 'applies to jurisdiction', 'United States dollar']
SELECT DISTINCT ?d WHERE { ?d property:applies_to_jurisdiction resource:United_States_of_America . ?d rdf:type ontology:abstract_noun }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q691
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with more number of administrative territories than Papua New Guinea ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q691
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?w ) WHERE { ?l rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 . ?l property:P530 ?d } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q691 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?n ) }
Papua New Guinea
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?w ) WHERE { ?l rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?d } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Papua_New_Guinea property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?n ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q183 Q408 Q769 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q691
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?w ) WHERE { ?l rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 . ?l property:P530 ?d } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q691 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?n ) }
Gabon Austria Antigua and Barbuda The Bahamas Germany Australia Grenada Denmark Canada New Zealand Jamaica
11
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?w ) WHERE { ?l rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?d } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Papua_New_Guinea property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q685
P530
Q1048835 Q15617994
USER
And also tell me about Solomon Islands?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?d ) WHERE { ?g property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q685 property:P530 ?m } } . FILTER ( ?d > ?w ) }
Solomon Islands
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?d ) WHERE { ?g property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Solomon_Islands property:diplomatic_relation ?m } } . FILTER ( ?d > ?w ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q183 Q408 Q769 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?d ) WHERE { ?g property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q685 property:P530 ?m } } . FILTER ( ?d > ?w ) }
Gabon Austria Antigua and Barbuda The Bahamas Germany Australia Grenada Denmark Canada New Zealand Jamaica
11
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?d ) WHERE { ?g property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Solomon_Islands property:diplomatic_relation ?m } } . FILTER ( ?d > ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P194
Q701632 Q1752346 Q15617994
USER
How many administrative territories have exactly 1 municipal councils and assemblies as their representative body ?
(c(Q15617994),P194,c(Q701632)|c(Q1752346))
action count
action equal
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
value 1
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { { ?h property:P194 ?b . ?h rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q701632 } UNION { ?h property:P194 ?b . ?b rdf:type ontology:Q1752346 . ?h rdf:type ontology:Q15617994 } } GROUP BY ?h } }
action count
action equal
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { { ?h property:legislative_body ?b . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:municipal_council } UNION { ?h property:legislative_body ?b . ?b rdf:type ontology:assembly . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } }
[]
municipal council assembly designation for an administrative territorial entity
SYSTEM
66
Q804 Q801 Q419 Q668 Q2806757 Q414 Q142 Q55 Q145 Q717 Q657 Q258 Q45 Q159 Q41 Q155 Q4628 Q1965 Q242 Q33 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q747074 Q72449 Q233 Q238 Q20 Q28 Q29 Q783 Q184 Q228 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q697 Q298 Q754 Q750 Q213 Q211 Q214 Q215 Q218 Q219 Q16110 Q79 Q77 Q811 Q1013 Q176 Q1952 Q869
(c(Q15617994),P194,c(Q701632)|c(Q1752346))
action count
action equal
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { { ?h property:P194 ?b . ?h rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q701632 } UNION { ?h property:P194 ?b . ?b rdf:type ontology:Q1752346 . ?h rdf:type ontology:Q15617994 } } GROUP BY ?h } }
Panama Israel Peru India 105 Mile Post Indian Reserve No. 2 Argentina France Netherlands United Kingdom Venezuela Chad South Africa Portugal Russia Greece Brazil Faroe Islands New Brunswick Belize Finland Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia comune of Italy Roccarainola Malta San Marino Norway Hungary Spain Honduras Belarus Andorra Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Nauru Chile Trinidad and Tobago Bolivia Czech Republic Latvia Slovakia Slovenia Romania Bulgaria region of Italy Egypt Uruguay Nicaragua Lesotho Quebec Nova Scotia Thailand
66
action count
action equal
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?m ) WHERE { { ?h property:legislative_body ?b . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:municipal_council } UNION { ?h property:legislative_body ?b . ?b rdf:type ontology:assembly . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P495
Q27119593 Q1656682
USER
How many book formats or events are United States of America a country of origin of ?
(c(Q27119593),P495,Q30) (c(Q1656682),P495,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P495
type Q27119593
action filter_type
action find_reverse
entity Q30
relation P495
type Q1656682
[{'concept': 'Q27119593'}, 'P495', 'Q30'] [{'concept': 'Q1656682'}, 'P495', 'Q30']
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { ?m rdf:type ontology:Q1656682 . ?m property:P495 resource:Q30 } UNION { ?m property:P495 resource:Q30 . ?m rdf:type ontology:Q27119593 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation country of origin
type book format
action filter_type
action find_reverse
entity United States of America
relation country of origin
type event
[{'concept': 'book format'}, 'country of origin', 'United States of America'] [{'concept': 'event'}, 'country of origin', 'United States of America']
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { ?m rdf:type ontology:event . ?m property:country_of_origin resource:United_States_of_America } UNION { ?m property:country_of_origin resource:United_States_of_America . ?m rdf:type ontology:book_format } }
[]
book format event
SYSTEM
14
Q16204514 Q6844195 Q4839771 Q16995012 Q6945310 Q27231694 Q2342463 Q10691809 Q17300492 Q20967576 Q6423066 Q7967336 Q7621381 Q7186459
(c(Q27119593),P495,Q30) (c(Q1656682),P495,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P495
type Q27119593
action filter_type
action find_reverse
entity Q30
relation P495
type Q1656682
[ANSWER]
[{'concept': 'Q27119593'}, 'P495', 'Q30'] [{'concept': 'Q1656682'}, 'P495', 'Q30']
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { ?m rdf:type ontology:Q1656682 . ?m property:P495 resource:Q30 } UNION { ?m property:P495 resource:Q30 . ?m rdf:type ontology:Q27119593 } }
Pre-Teen Dirty-Gene Kung-Fu Kangaroos Mighty Mutanimals Backstreet Project He-Man and the Masters of the Universe My Drunk Kitchen The Muppets Present...Great Moments in American History Teenage Mutant Ninja Turtles Adventures Teenage Mutant Ninja Turtles Columbus Pride Batman/Teenage Mutant Ninja Turtles Knotfest Wanee Festival Strange Fantasy Phish festivals
14
action count
action union
action filter_type
action find_reverse
entity United States of America
relation country of origin
type book format
action filter_type
action find_reverse
entity United States of America
relation country of origin
type event
[{'concept': 'book format'}, 'country of origin', 'United States of America'] [{'concept': 'event'}, 'country of origin', 'United States of America']
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { ?m rdf:type ontology:event . ?m property:country_of_origin resource:United_States_of_America } UNION { ?m property:country_of_origin resource:United_States_of_America . ?m rdf:type ontology:book_format } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P859
Q939954
USER
Which Magnetic confinement fusion was funded by United States of America ?
(c(Q939954),P859,Q30)
action filter_type
action find_reverse
entity Q30
relation P859
type Q939954
[{'concept': 'Q939954'}, 'P859', 'Q30']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q939954 . ?s property:P859 resource:Q30 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'United States of America']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Magnetic_confinement_fusion . ?s property:sponsor resource:United_States_of_America }
[]
Magnetic confinement fusion
Q191788
SYSTEM
ITER
Q191788
(c(Q939954),P859,Q30)
action filter_type
action find_reverse
entity Q30
relation P859
type Q939954
[ANSWER] was funded by United States of America
[{'concept': 'Q939954'}, 'P859', 'Q30']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q939954 . ?s property:P859 resource:Q30 }
ITER
ITER was funded by United States of America
ITER
action filter_type
action find_reverse
entity United States of America
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'United States of America']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Magnetic_confinement_fusion . ?s property:sponsor resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P1313
Q895526
USER
Which authority organ is fulfilled by United States of America ?
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?q WHERE { resource:Q30 property:P1313 ?q . ?q rdf:type ontology:Q895526 }
United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?q WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?q . ?q rdf:type ontology:authority_organ }
[]
authority organ
Q11696
SYSTEM
President of the United States of America
Q11696
(Q30,P1313,c(Q895526))
action filter_type
action find
entity Q30
relation P1313
type Q895526
United [ANSWER] is fulfilled by United States of America
['Q30', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?q WHERE { resource:Q30 property:P1313 ?q . ?q rdf:type ontology:Q895526 }
President of the United States of America
United President of the United States of America is fulfilled by United States of America
President of the United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
['United States of America', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?q WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?q . ?q rdf:type ontology:authority_organ }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q226820 Q30
P530 P495
Q15617994
USER
Which administrative territories have diplomatic relationships with United States of America and did Zorro against Maciste - Fight the Invincible originate ?
AND((Q30,P530,c(Q15617994)), (Q226820,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q30
relation P530
action find
entity Q226820
relation P495
type Q15617994
{'AND': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q226820', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q30 property:P530 ?f . resource:Q226820 property:P495 ?f . ?f rdf:type ontology:Q15617994 }
Zorro against Maciste - Fight the Invincible United States of America
action filter_type
action intersection
action find
entity United States of America
relation diplomatic relation
action find
entity Zorro against Maciste - Fight the Invincible
relation country of origin
type designation for an administrative territorial entity
{'AND': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Zorro against Maciste - Fight the Invincible', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:United_States_of_America property:diplomatic_relation ?f . resource:Zorro_against_Maciste_-_Fight_the_Invincible property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
AND((Q30,P530,c(Q15617994)), (Q226820,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q30
relation P530
action find
entity Q226820
relation P495
type Q15617994
[ANSWER] have diplomatic relationships with United States of America and did Zorro against Maciste - Fight the Invincible originate
{'AND': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q226820', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q30 property:P530 ?f . resource:Q226820 property:P495 ?f . ?f rdf:type ontology:Q15617994 }
Italy
Italy have diplomatic relationships with United States of America and did Zorro against Maciste - Fight the Invincible originate
Italy
action filter_type
action intersection
action find
entity United States of America
relation diplomatic relation
action find
entity Zorro against Maciste - Fight the Invincible
relation country of origin
type designation for an administrative territorial entity
{'AND': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Zorro against Maciste - Fight the Invincible', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:United_States_of_America property:diplomatic_relation ?f . resource:Zorro_against_Maciste_-_Fight_the_Invincible property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q226820
P1040
Q502895
USER
Who is the editor of that work of art ?
(Q38,P1040,c(Q502895))
action filter_type
action find
entity Q226820
relation P1040
type Q502895
['Q38', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q226820 property:P1040 ?a }
Zorro against Maciste - Fight the Invincible
action filter_type
action find
entity Zorro against Maciste - Fight the Invincible
relation film editor
type common name
['Italy', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Zorro_against_Maciste_-_Fight_the_Invincible property:film_editor ?a }
[]
common name
Q3809781
SYSTEM
Jolanda Benvenuti
Q3809781
(Q38,P1040,c(Q502895))
action filter_type
action find
entity Q226820
relation P1040
type Q502895
The editor of that work of art is [ANSWER]
['Q38', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q226820 property:P1040 ?a }
Jolanda Benvenuti
The editor of that work of art is Jolanda Benvenuti
Jolanda Benvenuti
action filter_type
action find
entity Zorro against Maciste - Fight the Invincible
relation film editor
type common name
['Italy', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Zorro_against_Maciste_-_Fight_the_Invincible property:film_editor ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3809781
P27
Q15617994
USER
How many administrative territories do Jolanda Benvenuti belong to ?
(Q3809781,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3809781
relation P27
type Q15617994
['Q3809781', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Q3809781 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Jolanda Benvenuti
action count
action filter_type
action find
entity Jolanda Benvenuti
relation country of citizenship
type designation for an administrative territorial entity
['Jolanda Benvenuti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Jolanda_Benvenuti property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q3809781,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3809781
relation P27
type Q15617994
[ANSWER]
['Q3809781', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Q3809781 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Jolanda Benvenuti
relation country of citizenship
type designation for an administrative territorial entity
['Jolanda Benvenuti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Jolanda_Benvenuti property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q345697
P27
Q15617994
USER
And how about Michael Kosgei Rotich?
(Q345697,P27,c(Q15617994))
action count
action filter_type
action find
entity Q345697
relation P27
type Q15617994
['Q345697', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q345697 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Michael Kosgei Rotich
action count
action filter_type
action find
entity Michael Kosgei Rotich
relation country of citizenship
type designation for an administrative territorial entity
['Michael Kosgei Rotich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Michael_Kosgei_Rotich property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q114
(Q345697,P27,c(Q15617994))
action count
action filter_type
action find
entity Q345697
relation P27
type Q15617994
[ANSWER]
['Q345697', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Q345697 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Kenya
1
action count
action filter_type
action find
entity Michael Kosgei Rotich
relation country of citizenship
type designation for an administrative territorial entity
['Michael Kosgei Rotich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { resource:Michael_Kosgei_Rotich property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]