Simple Question (Direct)
Simple Question
Q3354810
P39
Q12737077
USER
What was the position held by Claus Daae ?
(Q3354810,P39,c(Q12737077))
action filter_type
action find
entity Q3354810
relation P39
type Q12737077
['Q3354810', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3354810 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Claus Daae
action filter_type
action find
entity Claus Daae
relation position held
type occupation
['Claus Daae', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Claus_Daae property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q9045502
SYSTEM
member of the Parliament of Norway
Q9045502
(Q3354810,P39,c(Q12737077))
action filter_type
action find
entity Q3354810
relation P39
type Q12737077
The position held by Claus Daae was a [ANSWER]
['Q3354810', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3354810 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
member of the Parliament of Norway
The position held by Claus Daae was a member of the Parliament of Norway
member of the Parliament of Norway
action filter_type
action find
entity Claus Daae
relation position held
type occupation
['Claus Daae', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Claus_Daae property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3354810
P937
Q56061
USER
Which is the work location of that person ?
(Q9045502,P937,c(Q56061))
action filter_type
action find
entity Q3354810
relation P937
type Q56061
['Q9045502', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q3354810 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Claus Daae
action filter_type
action find
entity Claus Daae
relation work location
type administrative territorial entity
['member of the Parliament of Norway', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Claus_Daae property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q585
SYSTEM
Oslo
Q585
(Q9045502,P937,c(Q56061))
action filter_type
action find
entity Q3354810
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q9045502', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q3354810 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Oslo
The work location of that person is in Oslo
Oslo
action filter_type
action find
entity Claus Daae
relation work location
type administrative territorial entity
['member of the Parliament of Norway', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Claus_Daae property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24026997
P532
Q56061 Q2235308
USER
How many ship types are the registry port of more number of administrative territories than Reform ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026997
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?j ) WHERE { ?t property:P532 ?b . ?t rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Q24026997 property:P532 ?r . ?r rdf:type ontology:Q2235308 } } . FILTER ( ?j > ?p ) }
Reform
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Reform
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?j ) WHERE { ?t property:port_of_registry ?b . ?t rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Reform property:port_of_registry ?r . ?r rdf:type ontology:ship_type } } . FILTER ( ?j > ?p ) }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026997
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?j ) WHERE { ?t property:P532 ?b . ?t rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Q24026997 property:P532 ?r . ?r rdf:type ontology:Q2235308 } } . FILTER ( ?j > ?p ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Reform
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?j ) WHERE { ?t property:port_of_registry ?b . ?t rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { resource:Reform property:port_of_registry ?r . ?r rdf:type ontology:ship_type } } . FILTER ( ?j > ?p ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3354810
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Claus Daae ?
(Q3354810,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3354810
relation P27
type Q15617994
['Q3354810', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { resource:Q3354810 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Claus Daae
action count
action filter_type
action find
entity Claus Daae
relation country of citizenship
type designation for an administrative territorial entity
['Claus Daae', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { resource:Claus_Daae property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q20
(Q3354810,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3354810
relation P27
type Q15617994
[ANSWER]
['Q3354810', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { resource:Q3354810 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Norway
1
action count
action filter_type
action find
entity Claus Daae
relation country of citizenship
type designation for an administrative territorial entity
['Claus Daae', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { resource:Claus_Daae property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q16007341
Q15617994
USER
And how about Archibald?
(Q16007341,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16007341
relation P27
type Q15617994
['Q16007341', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Q16007341 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Archibald
action count
action filter_type
action find
entity Archibald
relation country of citizenship
type designation for an administrative territorial entity
['Archibald', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Archibald property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q16007341,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16007341
relation P27
type Q15617994
[ANSWER]
['Q16007341', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Q16007341 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Archibald
relation country of citizenship
type designation for an administrative territorial entity
['Archibald', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Archibald property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q902536 Q3354810
P27
Q15617994
USER
Which administrative territories are Claus Daae or Dave Cockrum a civilian of ?
OR((Q3354810,P27,c(Q15617994)), (Q902536,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3354810
relation P27
action find
entity Q902536
relation P27
type Q15617994
{'OR': [['Q3354810', 'P27', {'concept': 'Q15617994'}], ['Q902536', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q3354810 property:P27 ?c } UNION { resource:Q902536 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Dave Cockrum Claus Daae
action filter_type
action union
action find
entity Claus Daae
relation country of citizenship
action find
entity Dave Cockrum
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Claus Daae', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dave Cockrum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Claus_Daae property:country_of_citizenship ?c } UNION { resource:Dave_Cockrum property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q30
SYSTEM
Norway, United States of America
Q20 Q30
OR((Q3354810,P27,c(Q15617994)), (Q902536,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3354810
relation P27
action find
entity Q902536
relation P27
type Q15617994
Are Claus Daae or Dave Cockrum a civilian of [ANSWERS]
{'OR': [['Q3354810', 'P27', {'concept': 'Q15617994'}], ['Q902536', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q3354810 property:P27 ?c } UNION { resource:Q902536 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Norway United States of America
Are Claus Daae or Dave Cockrum a civilian of Norway and United States of America
Norway United States of America
action filter_type
action union
action find
entity Claus Daae
relation country of citizenship
action find
entity Dave Cockrum
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Claus Daae', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Dave Cockrum', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Claus_Daae property:country_of_citizenship ?c } UNION { resource:Dave_Cockrum property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q79
P194
Q11204 Q1752346 Q15617994
USER
How many administrative territories have more number of legislatures and assemblies as their representative body than Egypt ?
(c(Q15617994),P194,c(Q11204)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q79
relation P194
type Q11204
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?l ) WHERE { { ?j property:P194 ?o . ?o rdf:type ontology:Q11204 . ?j rdf:type ontology:Q15617994 } UNION { ?j property:P194 ?o . ?j rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1752346 } } GROUP BY ?j } . FILTER ( ?l > ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Q79 property:P194 ?x . { VALUES ( ?d ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?x rdf:type ?d } } } }
Egypt
action count
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Egypt
relation legislative body
type legislature
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?l ) WHERE { { ?j property:legislative_body ?o . ?o rdf:type ontology:legislature . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j property:legislative_body ?o . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:assembly } } GROUP BY ?j } . FILTER ( ?l > ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Egypt property:legislative_body ?x . { VALUES ( ?d ) { ( ontology:legislature ) ( ontology:assembly ) } . ?x rdf:type ?d } } } }
[]
legislature assembly designation for an administrative territorial entity
SYSTEM
4
Q159 Q794 Q6465 Q948
(c(Q15617994),P194,c(Q11204)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q79
relation P194
type Q11204
type Q1752346
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?l ) WHERE { { ?j property:P194 ?o . ?o rdf:type ontology:Q11204 . ?j rdf:type ontology:Q15617994 } UNION { ?j property:P194 ?o . ?j rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1752346 } } GROUP BY ?j } . FILTER ( ?l > ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Q79 property:P194 ?x . { VALUES ( ?d ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?x rdf:type ?d } } } }
Russia Iran department of France Tunisia
4
action count
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Egypt
relation legislative body
type legislature
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?l ) WHERE { { ?j property:legislative_body ?o . ?o rdf:type ontology:legislature . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j property:legislative_body ?o . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:assembly } } GROUP BY ?j } . FILTER ( ?l > ?n ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Egypt property:legislative_body ?x . { VALUES ( ?d ) { ( ontology:legislature ) ( ontology:assembly ) } . ?x rdf:type ?d } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q854
P194
Q11204 Q1752346 Q15617994
USER
And what about Sri Lanka?
(c(Q15617994),P194,c(Q11204)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q854
relation P194
type Q11204
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?j ) WHERE { { ?e property:P194 ?t . ?t rdf:type ontology:Q11204 . ?e rdf:type ontology:Q15617994 } UNION { ?e property:P194 ?t . ?e rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1752346 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q854 property:P194 ?w . { { ?w rdf:type ontology:Q11204 } UNION { ?w rdf:type ontology:Q1752346 } } } } . FILTER ( ?j > ?r ) }
Sri Lanka
action count
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Sri Lanka
relation legislative body
type legislature
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?j ) WHERE { { ?e property:legislative_body ?t . ?t rdf:type ontology:legislature . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e property:legislative_body ?t . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:assembly } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Sri_Lanka property:legislative_body ?w . { { ?w rdf:type ontology:legislature } UNION { ?w rdf:type ontology:assembly } } } } . FILTER ( ?j > ?r ) }
[]
legislature assembly designation for an administrative territorial entity
SYSTEM
4
Q159 Q794 Q6465 Q948
(c(Q15617994),P194,c(Q11204)|c(Q1752346))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q854
relation P194
type Q11204
type Q1752346
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?j ) WHERE { { ?e property:P194 ?t . ?t rdf:type ontology:Q11204 . ?e rdf:type ontology:Q15617994 } UNION { ?e property:P194 ?t . ?e rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1752346 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q854 property:P194 ?w . { { ?w rdf:type ontology:Q11204 } UNION { ?w rdf:type ontology:Q1752346 } } } } . FILTER ( ?j > ?r ) }
Russia Iran department of France Tunisia
4
action count
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Sri Lanka
relation legislative body
type legislature
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?j ) WHERE { { ?e property:legislative_body ?t . ?t rdf:type ontology:legislature . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e property:legislative_body ?t . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:assembly } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Sri_Lanka property:legislative_body ?w . { { ?w rdf:type ontology:legislature } UNION { ?w rdf:type ontology:assembly } } } } . FILTER ( ?j > ?r ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q854
P495
Q15416
USER
What are that administrative territory a country of origin of ?
action filter_type
action find_reverse
entity Q854
relation P495
type Q15416
SELECT DISTINCT ?m WHERE { ?m property:P495 resource:Q854 . ?m rdf:type ontology:Q15416 }
Sri Lanka
action filter_type
action find_reverse
entity Sri Lanka
relation country of origin
type television program
SELECT DISTINCT ?m WHERE { ?m property:country_of_origin resource:Sri_Lanka . ?m rdf:type ontology:television_program }
[]
television program
Q16985425 Q6431090 Q7529980
SYSTEM
I Witnessed Genocide: Inside Sri Lanka's Killing Fields, Kopi Kade, Sirasa Superstar
Q16949659 Q16985425 Q16949953 Q6431090 Q7529980
action filter_type
action find_reverse
entity Q854
relation P495
type Q15416
That administrative territory a country of origin of are [ANSWERS]
SELECT DISTINCT ?m WHERE { ?m property:P495 resource:Q854 . ?m rdf:type ontology:Q15416 }
Sihina Wasanthayak I Witnessed Genocide: Inside Sri Lanka's Killing Fields Siri Sirimal Kopi Kade Sirasa Superstar
That administrative territory a country of origin of are I Witnessed Genocide: Inside Sri Lanka's Killing Fields, Kopi Kade and Sirasa Superstar
I Witnessed Genocide: Inside Sri Lanka's Killing Fields Kopi Kade Sirasa Superstar
action filter_type
action find_reverse
entity Sri Lanka
relation country of origin
type television program
SELECT DISTINCT ?m WHERE { ?m property:country_of_origin resource:Sri_Lanka . ?m rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q585
P17
Q15617994 Q5589178
USER
How many administrative territories or regimes do Oslo belong to ?
(Q585,P17,c(Q15617994)) (Q585,P17,c(Q5589178))
action count
action union
action filter_type
action find
entity Q585
relation P17
type Q15617994
action filter_type
action find
entity Q585
relation P17
type Q5589178
['Q585', 'P17', {'concept': 'Q15617994'}] ['Q585', 'P17', {'concept': 'Q5589178'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { resource:Q585 property:P17 ?i . ?i rdf:type ontology:Q15617994 } UNION { resource:Q585 property:P17 ?i . ?i rdf:type ontology:Q5589178 } }
Oslo
action count
action union
action filter_type
action find
entity Oslo
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Oslo
relation country
type regime
['Oslo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Oslo', 'country', {'concept': 'regime'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { resource:Oslo property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Oslo property:country ?i . ?i rdf:type ontology:regime } }
[]
designation for an administrative territorial entity regime
SYSTEM
2
Q20 Q2597352
(Q585,P17,c(Q15617994)) (Q585,P17,c(Q5589178))
action count
action union
action filter_type
action find
entity Q585
relation P17
type Q15617994
action filter_type
action find
entity Q585
relation P17
type Q5589178
[ANSWER]
['Q585', 'P17', {'concept': 'Q15617994'}] ['Q585', 'P17', {'concept': 'Q5589178'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { resource:Q585 property:P17 ?i . ?i rdf:type ontology:Q15617994 } UNION { resource:Q585 property:P17 ?i . ?i rdf:type ontology:Q5589178 } }
Norway Norway in 1814
2
action count
action union
action filter_type
action find
entity Oslo
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Oslo
relation country
type regime
['Oslo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Oslo', 'country', {'concept': 'regime'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { resource:Oslo property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Oslo property:country ?i . ?i rdf:type ontology:regime } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q585
P551
Q502895
USER
Which people dwell at that administrative territory ?
action filter_type
action find_reverse
entity Q585
relation P551
type Q502895
SELECT DISTINCT ?k WHERE { ?k property:P551 resource:Q585 . ?k rdf:type ontology:Q502895 }
Oslo
action filter_type
action find_reverse
entity Oslo
relation residence
type common name
SELECT DISTINCT ?k WHERE { ?k property:residence resource:Oslo . ?k rdf:type ontology:common_name }
[]
common name
Q2567 Q107405 Q24756
SYSTEM
Richard von Weizsäcker, Lars Onsager, Knut Johannesen
Q1081654 Q107405 Q20801590 Q14552524 Q18643319 Q2567 Q4724776 Q41406 Q1618183 Q22978422 Q15650900 Q24756 Q12000522 Q18392988 Q24250266
action filter_type
action find_reverse
entity Q585
relation P551
type Q502895
[ANSWERS] dwell at that administrative territory
SELECT DISTINCT ?k WHERE { ?k property:P551 resource:Q585 . ?k rdf:type ontology:Q502895 }
Christian Ruud Lars Onsager Didrik Hermansen Marte Michelet Yvonne Dåbakk Richard von Weizsäcker Ali Esbati Edvard Munch Ulrikke Eikeri Esben Holmboe Bang Gunnar Tjomlid Knut Johannesen Simeon Thoresen Stefan Kutzsche Gitte Brunstad
Richard von Weizsäcker, Lars Onsager and Knut Johannesen dwell at that administrative territory
Richard von Weizsäcker Lars Onsager Knut Johannesen
action filter_type
action find_reverse
entity Oslo
relation residence
type common name
SELECT DISTINCT ?k WHERE { ?k property:residence resource:Oslo . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q15416 Q502895 Q15707583
USER
Which television programs are approximately 1 people or fictional taxons shown in ?
(c(Q502895)|c(Q15707583),P1441,c(Q15416))
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q15707583
value 1
[[{'concept': 'Q502895'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ?m . VALUES ( ?m ) { ( ontology:Q502895 ) ( ontology:Q15707583 ) } } GROUP BY ?y } . FILTER ( ?r = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation present in work
type television program
type common name
action find_reverse_tuple_counts
relation present in work
type television program
type fictional taxon
value 1
[[{'concept': 'common name'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ?m . VALUES ( ?m ) { ( ontology:common_name ) ( ontology:fictional_taxon ) } } GROUP BY ?y } . FILTER ( ?r = 1 ) }
[]
television program common name fictional taxon
Q7751721 Q2744 Q165515
SYSTEM
The Missiles of October, The X-Files, 101 Dalmatians: The Series
Q1217700 Q19848664 Q2744 Q1585857 Q7751721 Q165515 Q630496
(c(Q502895)|c(Q15707583),P1441,c(Q15416))
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q15707583
value 1
[ANSWERS] are approximately 1 people or fictional taxons shown in
[[{'concept': 'Q502895'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ?m . VALUES ( ?m ) { ( ontology:Q502895 ) ( ontology:Q15707583 ) } } GROUP BY ?y } . FILTER ( ?r = 1 ) }
The Ten Commandments StarTalk The X-Files Hollyoaks The Missiles of October 101 Dalmatians: The Series Abraham
The Missiles of October, The X-Files and 101 Dalmatians: The Series are approximately 1 people or fictional taxons shown in
The Missiles of October The X-Files 101 Dalmatians: The Series
action approx
action union
action find_reverse_tuple_counts
relation present in work
type television program
type common name
action find_reverse_tuple_counts
relation present in work
type television program
type fictional taxon
value 1
[[{'concept': 'common name'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ?m . VALUES ( ?m ) { ( ontology:common_name ) ( ontology:fictional_taxon ) } } GROUP BY ?y } . FILTER ( ?r = 1 ) }
[]