Simple Question (Direct)
Simple Question
Q100266
P27
Q1048835
USER
Which political territory is Ingeborg von Kusserow a civilian of ?
(Q100266,P27,c(Q1048835))
action filter_type
action find
entity Q100266
relation P27
type Q1048835
['Q100266', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q100266 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Ingeborg von Kusserow
action filter_type
action find
entity Ingeborg von Kusserow
relation country of citizenship
type political territorial entity
['Ingeborg von Kusserow', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Ingeborg_von_Kusserow property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q100266,P27,c(Q1048835))
action filter_type
action find
entity Q100266
relation P27
type Q1048835
[ANSWER] is Ingeborg von Kusserow a civilian of
['Q100266', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q100266 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Germany
Germany is Ingeborg von Kusserow a civilian of
Germany
action filter_type
action find
entity Ingeborg von Kusserow
relation country of citizenship
type political territorial entity
['Ingeborg von Kusserow', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Ingeborg_von_Kusserow property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q100266
P19
Q56061
USER
Which administrative territory was Ingeborg von Kusserow born at ?
(Q100266,P19,c(Q56061))
action filter_type
action find
entity Q100266
relation P19
type Q56061
['Q100266', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q100266 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Ingeborg von Kusserow
action filter_type
action find
entity Ingeborg von Kusserow
relation place of birth
type administrative territorial entity
['Ingeborg von Kusserow', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Ingeborg_von_Kusserow property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q852363
SYSTEM
Wolsztyn
Q852363
(Q100266,P19,c(Q56061))
action filter_type
action find
entity Q100266
relation P19
type Q56061
Ingeborg von Kusserow was born in [ANSWER]
['Q100266', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q100266 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Wolsztyn
Ingeborg von Kusserow was born in Wolsztyn
Wolsztyn
action filter_type
action find
entity Ingeborg von Kusserow
relation place of birth
type administrative territorial entity
['Ingeborg von Kusserow', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Ingeborg_von_Kusserow property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19668275
Q56061
USER
And how about Just Loomis?
(Q19668275,P19,c(Q56061))
action filter_type
action find
entity Q19668275
relation P19
type Q56061
['Q19668275', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q19668275 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Just Loomis
action filter_type
action find
entity Just Loomis
relation place of birth
type administrative territorial entity
['Just Loomis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Just_Loomis property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q49225
SYSTEM
Reno
Q49225
(Q19668275,P19,c(Q56061))
action filter_type
action find
entity Q19668275
relation P19
type Q56061
[ANSWER]
['Q19668275', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q19668275 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Reno
Reno
action filter_type
action find
entity Just Loomis
relation place of birth
type administrative territorial entity
['Just Loomis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Just_Loomis property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have max number of administrative territories as their base harbour ?
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?v ) WHERE { ?s property:P532 ?y . ?y rdf:type ontology:Q56061 . ?s rdf:type ontology:Q2235308 } GROUP BY ?s } . FILTER ( ?v = ?x ) . { SELECT DISTINCT ( MAX ( ?r ) AS ?x ) { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?r ) WHERE { ?z rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 . ?z property:P532 ?c } GROUP BY ?z } } }
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?v ) WHERE { ?s property:port_of_registry ?y . ?y rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:ship_type } GROUP BY ?s } . FILTER ( ?v = ?x ) . { SELECT DISTINCT ( MAX ( ?r ) AS ?x ) { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?r ) WHERE { ?z rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity . ?z property:port_of_registry ?c } GROUP BY ?z } } }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[ANSWER] have max number of administrative territories as their base harbour
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?v ) WHERE { ?s property:P532 ?y . ?y rdf:type ontology:Q56061 . ?s rdf:type ontology:Q2235308 } GROUP BY ?s } . FILTER ( ?v = ?x ) . { SELECT DISTINCT ( MAX ( ?r ) AS ?x ) { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?r ) WHERE { ?z rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 . ?z property:P532 ?c } GROUP BY ?z } } }
MS Arrow
MS Arrow have max number of administrative territories as their base harbour
MS Arrow
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?v ) WHERE { ?s property:port_of_registry ?y . ?y rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:ship_type } GROUP BY ?s } . FILTER ( ?v = ?x ) . { SELECT DISTINCT ( MAX ( ?r ) AS ?x ) { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?r ) WHERE { ?z rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity . ?z property:port_of_registry ?c } GROUP BY ?z } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11707059
P137
Q43229
USER
Who manages that ship type ?
(Q11707059,P137,c(Q43229))
action filter_type
action find
entity Q11707059
relation P137
type Q43229
['Q11707059', 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { resource:Q11707059 property:P137 ?w . ?w rdf:type ontology:Q43229 }
MS Arrow
action filter_type
action find
entity MS Arrow
relation operator
type organization
['MS Arrow', 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { resource:MS_Arrow property:operator ?w . ?w rdf:type ontology:organization }
[]
organization
Q7442038 Q387034
SYSTEM
Seatruck Ferries, Condor Ferries
Q7442038 Q387034
(Q11707059,P137,c(Q43229))
action filter_type
action find
entity Q11707059
relation P137
type Q43229
[ANSWERS] manage that ship type
['Q11707059', 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { resource:Q11707059 property:P137 ?w . ?w rdf:type ontology:Q43229 }
Seatruck Ferries Condor Ferries
Seatruck Ferries and Condor Ferries manage that ship type
Seatruck Ferries Condor Ferries
action filter_type
action find
entity MS Arrow
relation operator
type organization
['MS Arrow', 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { resource:MS_Arrow property:operator ?w . ?w rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q387034
P17
Q15617994
USER
How many administrative territories are Condor Ferries present in ?
(Q387034,P17,c(Q15617994))
action count
action filter_type
action find
entity Q387034
relation P17
type Q15617994
['Q387034', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q387034 property:P17 ?r }
Condor Ferries
action count
action filter_type
action find
entity Condor Ferries
relation country
type designation for an administrative territorial entity
['Condor Ferries', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Condor_Ferries property:country ?r }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q387034,P17,c(Q15617994))
action count
action filter_type
action find
entity Q387034
relation P17
type Q15617994
[ANSWER]
['Q387034', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r rdf:type ontology:Q15617994 . resource:Q387034 property:P17 ?r }
United Kingdom
1
action count
action filter_type
action find
entity Condor Ferries
relation country
type designation for an administrative territorial entity
['Condor Ferries', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Condor_Ferries property:country ?r }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q7749779
P17
Q15617994
USER
And how about The Mall at Northgate?
(Q7749779,P17,c(Q15617994))
action count
action filter_type
action find
entity Q7749779
relation P17
type Q15617994
['Q7749779', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Q7749779 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
The Mall at Northgate
action count
action filter_type
action find
entity The Mall at Northgate
relation country
type designation for an administrative territorial entity
['The Mall at Northgate', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:The_Mall_at_Northgate property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q7749779,P17,c(Q15617994))
action count
action filter_type
action find
entity Q7749779
relation P17
type Q15617994
[ANSWER]
['Q7749779', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:Q7749779 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity The Mall at Northgate
relation country
type designation for an administrative territorial entity
['The Mall at Northgate', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { resource:The_Mall_at_Northgate property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7812688
Q15617994
USER
And how about Todd Valley, California?
(Q7812688,P17,c(Q15617994))
action count
action filter_type
action find
entity Q7812688
relation P17
type Q15617994
['Q7812688', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q7812688 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Todd Valley, California
action count
action filter_type
action find
entity Todd Valley, California
relation country
type designation for an administrative territorial entity
['Todd Valley, California', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Todd_Valley,_California property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q7812688,P17,c(Q15617994))
action count
action filter_type
action find
entity Q7812688
relation P17
type Q15617994
[ANSWER]
['Q7812688', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q7812688 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Todd Valley, California
relation country
type designation for an administrative territorial entity
['Todd Valley, California', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Todd_Valley,_California property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3942205 Q100266
P106
Q12737077
USER
Which occupations are the professions of Ingeborg von Kusserow or Rubén Maldonado ?
OR((Q100266,P106,c(Q12737077)), (Q3942205,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q100266
relation P106
action find
entity Q3942205
relation P106
type Q12737077
{'OR': [['Q100266', 'P106', {'concept': 'Q12737077'}], ['Q3942205', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?e WHERE { { ?k property:P106 ?e . VALUES ( ?k ) { ( resource:Q100266 ) ( resource:Q3942205 ) } } . ?e rdf:type ontology:Q12737077 }
Rubén Maldonado Ingeborg von Kusserow
action filter_type
action union
action find
entity Ingeborg von Kusserow
relation occupation
action find
entity Rubén Maldonado
relation occupation
type occupation
{'OR': [['Ingeborg von Kusserow', 'occupation', {'concept': 'occupation'}], ['Rubén Maldonado', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?e WHERE { { ?k property:occupation ?e . VALUES ( ?k ) { ( resource:Ingeborg_von_Kusserow ) ( resource:Rubén_Maldonado ) } } . ?e rdf:type ontology:occupation }
[]
occupation
Q33999 Q2259451 Q628099 Q937857
SYSTEM
actor, stage actor, association football manager, association football player
Q33999 Q2259451 Q628099 Q937857
OR((Q100266,P106,c(Q12737077)), (Q3942205,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q100266
relation P106
action find
entity Q3942205
relation P106
type Q12737077
The [ANSWERS] are the professions of Ingeborg von Kusserow or Rubén Maldonado
{'OR': [['Q100266', 'P106', {'concept': 'Q12737077'}], ['Q3942205', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?e WHERE { { ?k property:P106 ?e . VALUES ( ?k ) { ( resource:Q100266 ) ( resource:Q3942205 ) } } . ?e rdf:type ontology:Q12737077 }
actor stage actor association football manager association football player
The actor, stage actor, association football manager and association football player are the professions of Ingeborg von Kusserow or Rubén Maldonado
actor stage actor association football manager association football player
action filter_type
action union
action find
entity Ingeborg von Kusserow
relation occupation
action find
entity Rubén Maldonado
relation occupation
type occupation
{'OR': [['Ingeborg von Kusserow', 'occupation', {'concept': 'occupation'}], ['Rubén Maldonado', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?e WHERE { { ?k property:occupation ?e . VALUES ( ?k ) { ( resource:Ingeborg_von_Kusserow ) ( resource:Rubén_Maldonado ) } } . ?e rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q192667 Q852363
P27 P17
Q15617994
USER
Which administrative territories are Wolsztyn located in or are the countries of citizenship of Manuel Noriega ?
OR((Q852363,P17,c(Q15617994)), (Q192667,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q852363
relation P17
action find
entity Q192667
relation P27
type Q15617994
{'OR': [['Q852363', 'P17', {'concept': 'Q15617994'}], ['Q192667', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q852363 property:P17 ?i } UNION { resource:Q192667 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
Manuel Noriega Wolsztyn
action filter_type
action union
action find
entity Wolsztyn
relation country
action find
entity Manuel Noriega
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Wolsztyn', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Manuel Noriega', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Wolsztyn property:country ?i } UNION { resource:Manuel_Noriega property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q804 Q36
SYSTEM
Panama, Poland
Q804 Q36
OR((Q852363,P17,c(Q15617994)), (Q192667,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q852363
relation P17
action find
entity Q192667
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q852363', 'P17', {'concept': 'Q15617994'}], ['Q192667', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q852363 property:P17 ?i } UNION { resource:Q192667 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
Panama Poland
Which administrative territories are Wolsztyn located in or are the countries of citizenship of Manuel Noriega
Panama Poland
action filter_type
action union
action find
entity Wolsztyn
relation country
action find
entity Manuel Noriega
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Wolsztyn', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Manuel Noriega', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Wolsztyn property:country ?i } UNION { resource:Manuel_Noriega property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]