Simple Question (Direct)
Simple Question
Q3531511
P27
Q15617994
USER
Which administrative territory is Tonco Modderman a civilian of ?
(Q3531511,P27,c(Q15617994))
action filter_type
action find
entity Q3531511
relation P27
type Q15617994
['Q3531511', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3531511 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Tonco Modderman
action filter_type
action find
entity Tonco Modderman
relation country of citizenship
type designation for an administrative territorial entity
['Tonco Modderman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Tonco_Modderman property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q3531511,P27,c(Q15617994))
action filter_type
action find
entity Q3531511
relation P27
type Q15617994
The [ANSWER] is Tonco Modderman a civilian of
['Q3531511', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3531511 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Netherlands
The Netherlands is Tonco Modderman a civilian of
Netherlands
action filter_type
action find
entity Tonco Modderman
relation country of citizenship
type designation for an administrative territorial entity
['Tonco Modderman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Tonco_Modderman property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3531511
P21
Q290
USER
Which sex does that person belong to ?
(Q55,P21,c(Q290))
action filter_type
action find
entity Q3531511
relation P21
type Q290
['Q55', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3531511 property:P21 ?h . ?h rdf:type ontology:Q290 }
Tonco Modderman
action filter_type
action find
entity Tonco Modderman
relation gender
type sex
['Netherlands', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Tonco_Modderman property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q55,P21,c(Q290))
action filter_type
action find
entity Q3531511
relation P21
type Q290
That person belongs to [ANSWER]
['Q55', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3531511 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Tonco Modderman
relation gender
type sex
['Netherlands', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Tonco_Modderman property:gender ?h . ?h rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with around 88 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 88
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?g ) WHERE { ?s property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } GROUP BY ?s } . FILTER ( ?g = 88 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 88
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?g ) WHERE { ?s property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } GROUP BY ?s } . FILTER ( ?g = 88 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 88
[ANSWERS] have diplomatic relationships with around 88 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?g ) WHERE { ?s property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q1048835 } GROUP BY ?s } . FILTER ( ?g = 88 ) }
Germany Australia
Germany and Australia have diplomatic relationships with around 88 administrative territories
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 88
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?g ) WHERE { ?s property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:political_territorial_entity } GROUP BY ?s } . FILTER ( ?g = 88 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2267911
P27
Q502895
USER
Are Shō Kyō a native of those political territories ?
(Q2267911,P27,Q183) (Q2267911,P27,Q408)
action is_in
entity prev_answer
action find
entity Q2267911
relation P27
['Q2267911', 'P27', 'Q183'] ['Q2267911', 'P27', 'Q408']
ASK WHERE { VALUES ( ?r ) { ( resource:Q183 ) ( resource:Q408 ) } . resource:Q2267911 property:P27 ?r }
Shō Kyō
action is_in
entity prev_answer
action find
entity Shō Kyō
relation country of citizenship
['Shō Kyō', 'country of citizenship', 'Germany'] ['Shō Kyō', 'country of citizenship', 'Australia']
ASK WHERE { VALUES ( ?r ) { ( resource:Germany ) ( resource:Australia ) } . resource:Shō_Kyō property:country_of_citizenship ?r }
[]
common name
SYSTEM
NO
(Q2267911,P27,Q183) (Q2267911,P27,Q408)
action is_in
entity prev_answer
action find
entity Q2267911
relation P27
[ANSWER]
['Q2267911', 'P27', 'Q183'] ['Q2267911', 'P27', 'Q408']
ASK WHERE { VALUES ( ?r ) { ( resource:Q183 ) ( resource:Q408 ) } . resource:Q2267911 property:P27 ?r }
No
action is_in
entity prev_answer
action find
entity Shō Kyō
relation country of citizenship
['Shō Kyō', 'country of citizenship', 'Germany'] ['Shō Kyō', 'country of citizenship', 'Australia']
ASK WHERE { VALUES ( ?r ) { ( resource:Germany ) ( resource:Australia ) } . resource:Shō_Kyō property:country_of_citizenship ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P159
Q4830453
USER
Which business enterprises have the principal seat at Netherlands ?
(c(Q4830453),P159,Q55)
action filter_type
action find_reverse
entity Q55
relation P159
type Q4830453
[{'concept': 'Q4830453'}, 'P159', 'Q55']
SELECT DISTINCT ?b WHERE { ?b property:P159 resource:Q55 . ?b rdf:type ontology:Q4830453 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Netherlands']
SELECT DISTINCT ?b WHERE { ?b property:headquarters_location resource:Netherlands . ?b rdf:type ontology:business_enterprise }
[]
business enterprise
Q1114024 Q1168707
SYSTEM
Comedy Central Sweden, Tamara
Q1114024 Q1168707
(c(Q4830453),P159,Q55)
action filter_type
action find_reverse
entity Q55
relation P159
type Q4830453
[ANSWERS] have the principal seat at Netherlands
[{'concept': 'Q4830453'}, 'P159', 'Q55']
SELECT DISTINCT ?b WHERE { ?b property:P159 resource:Q55 . ?b rdf:type ontology:Q4830453 }
Comedy Central Sweden Tamara
Comedy Central Sweden and Tamara have the principal seat at Netherlands
Comedy Central Sweden Tamara
action filter_type
action find_reverse
entity Netherlands
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Netherlands']
SELECT DISTINCT ?b WHERE { ?b property:headquarters_location resource:Netherlands . ?b rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1114024
P127
Q43229
USER
Which organization owned Comedy Central Sweden ?
(Q1114024,P127,c(Q43229))
action filter_type
action find
entity Q1114024
relation P127
type Q43229
['Q1114024', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { resource:Q1114024 property:P127 ?m . ?m rdf:type ontology:Q43229 }
Comedy Central Sweden
action filter_type
action find
entity Comedy Central Sweden
relation owned by
type organization
['Comedy Central Sweden', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { resource:Comedy_Central_Sweden property:owned_by ?m . ?m rdf:type ontology:organization }
[]
organization
Q1882007
SYSTEM
Viacom International Media Networks
Q1882007
(Q1114024,P127,c(Q43229))
action filter_type
action find
entity Q1114024
relation P127
type Q43229
[ANSWER] owned Comedy Central Sweden
['Q1114024', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { resource:Q1114024 property:P127 ?m . ?m rdf:type ontology:Q43229 }
Viacom International Media Networks
Viacom International Media Networks owned Comedy Central Sweden
Viacom International Media Networks
action filter_type
action find
entity Comedy Central Sweden
relation owned by
type organization
['Comedy Central Sweden', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { resource:Comedy_Central_Sweden property:owned_by ?m . ?m rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q858702
Q43229
USER
And what about Duracell?
(Q858702,P127,c(Q43229))
action filter_type
action find
entity Q858702
relation P127
type Q43229
['Q858702', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q858702 property:P127 ?u . ?u rdf:type ontology:Q43229 }
Duracell
action filter_type
action find
entity Duracell
relation owned by
type organization
['Duracell', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Duracell property:owned_by ?u . ?u rdf:type ontology:organization }
[]
organization
Q212405 Q217583
SYSTEM
Procter & Gamble, Berkshire Hathaway
Q212405 Q217583
(Q858702,P127,c(Q43229))
action filter_type
action find
entity Q858702
relation P127
type Q43229
[ANSWERS]
['Q858702', 'P127', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q858702 property:P127 ?u . ?u rdf:type ontology:Q43229 }
Procter & Gamble Berkshire Hathaway
Procter & Gamble Berkshire Hathaway
action filter_type
action find
entity Duracell
relation owned by
type organization
['Duracell', 'owned by', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Duracell property:owned_by ?u . ?u rdf:type ontology:organization }
[]