Simple Question (Direct)
Simple Question
Q67633
P21
Q290
USER
Which sex does Hans Erasmus Aßmann have ?
(Q67633,P21,c(Q290))
action filter_type
action find
entity Q67633
relation P21
type Q290
['Q67633', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q67633 property:P21 ?r . ?r rdf:type ontology:Q290 }
Hans Erasmus Aßmann
action filter_type
action find
entity Hans Erasmus Aßmann
relation gender
type sex
['Hans Erasmus Aßmann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Hans_Erasmus_Aßmann property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q67633,P21,c(Q290))
action filter_type
action find
entity Q67633
relation P21
type Q290
Hans Erasmus Aßmann has a [ANSWER]
['Q67633', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q67633 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
Hans Erasmus Aßmann has a male
male
action filter_type
action find
entity Hans Erasmus Aßmann
relation gender
type sex
['Hans Erasmus Aßmann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Hans_Erasmus_Aßmann property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q67633
P27
Q1048835
USER
Which political territory is the country of citizenship of that person ?
(Q6581097,P27,c(Q1048835))
action filter_type
action find
entity Q67633
relation P27
type Q1048835
['Q6581097', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q67633 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Hans Erasmus Aßmann
action filter_type
action find
entity Hans Erasmus Aßmann
relation country of citizenship
type political territorial entity
['male', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Hans_Erasmus_Aßmann property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q6581097,P27,c(Q1048835))
action filter_type
action find
entity Q67633
relation P27
type Q1048835
[ANSWER] is the country of citizenship of that person
['Q6581097', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q67633 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Germany
Germany is the country of citizenship of that person
Germany
action filter_type
action find
entity Hans Erasmus Aßmann
relation country of citizenship
type political territorial entity
['male', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Hans_Erasmus_Aßmann property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q980857 Q67633
P19
Q486972
USER
Which human settlements were Hans Erasmus Aßmann or Micah Nathan born ?
OR((Q67633,P19,c(Q486972)), (Q980857,P19,c(Q486972)))
action filter_type
action union
action find
entity Q67633
relation P19
action find
entity Q980857
relation P19
type Q486972
{'OR': [['Q67633', 'P19', {'concept': 'Q486972'}], ['Q980857', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q486972 . { { resource:Q67633 property:P19 ?g } UNION { resource:Q980857 property:P19 ?g } } }
Micah Nathan Hans Erasmus Aßmann
action filter_type
action union
action find
entity Hans Erasmus Aßmann
relation place of birth
action find
entity Micah Nathan
relation place of birth
type human settlement
{'OR': [['Hans Erasmus Aßmann', 'place of birth', {'concept': 'human settlement'}], ['Micah Nathan', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:human_settlement . { { resource:Hans_Erasmus_Aßmann property:place_of_birth ?g } UNION { resource:Micah_Nathan property:place_of_birth ?g } } }
[]
human settlement
Q7999247 Q1799 Q34006
SYSTEM
Wierzbnica, Lubusz Voivodeship, Wrocław, Hollywood
Q7999247 Q1799 Q34006
OR((Q67633,P19,c(Q486972)), (Q980857,P19,c(Q486972)))
action filter_type
action union
action find
entity Q67633
relation P19
action find
entity Q980857
relation P19
type Q486972
[ANSWERS] were Hans Erasmus Aßmann or Micah Nathan born
{'OR': [['Q67633', 'P19', {'concept': 'Q486972'}], ['Q980857', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q486972 . { { resource:Q67633 property:P19 ?g } UNION { resource:Q980857 property:P19 ?g } } }
Wierzbnica, Lubusz Voivodeship Wrocław Hollywood
Wierzbnica, Lubusz Voivodeship, Wrocław and Hollywood were Hans Erasmus Aßmann or Micah Nathan born
Wierzbnica, Lubusz Voivodeship Wrocław Hollywood
action filter_type
action union
action find
entity Hans Erasmus Aßmann
relation place of birth
action find
entity Micah Nathan
relation place of birth
type human settlement
{'OR': [['Hans Erasmus Aßmann', 'place of birth', {'concept': 'human settlement'}], ['Micah Nathan', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:human_settlement . { { resource:Hans_Erasmus_Aßmann property:place_of_birth ?g } UNION { resource:Micah_Nathan property:place_of_birth ?g } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q14524493 Q852446 Q486972
USER
How many human settlements are a component of atleast 1 terrains or US administrative territories ?
(c(Q486972),P361,c(Q14524493)|c(Q852446))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q486972
type Q14524493
action find_tuple_counts
relation P361
type Q486972
type Q852446
value 1
[{'concept': 'Q486972'}, 'P361', [{'concept': 'Q14524493'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?l WHERE { { ?l property:P361 ?v . ?l rdf:type ontology:Q486972 . ?v rdf:type ontology:Q14524493 } UNION { ?l property:P361 ?v . ?v rdf:type ontology:Q852446 . ?l rdf:type ontology:Q486972 } } GROUP BY ?l } . FILTER ( ?s >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation part of
type human settlement
type terrain
action find_tuple_counts
relation part of
type human settlement
type administrative territorial entity of the United States
value 1
[{'concept': 'human settlement'}, 'part of', [{'concept': 'terrain'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?l WHERE { { ?l property:part_of ?v . ?l rdf:type ontology:human_settlement . ?v rdf:type ontology:terrain } UNION { ?l property:part_of ?v . ?v rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?l rdf:type ontology:human_settlement } } GROUP BY ?l } . FILTER ( ?s >= 1 ) }
[]
terrain administrative territorial entity of the United States human settlement
SYSTEM
3
Q20829076 Q4829294 Q2370380
(c(Q486972),P361,c(Q14524493)|c(Q852446))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q486972
type Q14524493
action find_tuple_counts
relation P361
type Q486972
type Q852446
value 1
[ANSWER]
[{'concept': 'Q486972'}, 'P361', [{'concept': 'Q14524493'}, {'concept': 'Q852446'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?l WHERE { { ?l property:P361 ?v . ?l rdf:type ontology:Q486972 . ?v rdf:type ontology:Q14524493 } UNION { ?l property:P361 ?v . ?v rdf:type ontology:Q852446 . ?l rdf:type ontology:Q486972 } } GROUP BY ?l } . FILTER ( ?s >= 1 ) }
Savan Avondale Igeldo
3
action count
action atleast
action union
action find_tuple_counts
relation part of
type human settlement
type terrain
action find_tuple_counts
relation part of
type human settlement
type administrative territorial entity of the United States
value 1
[{'concept': 'human settlement'}, 'part of', [{'concept': 'terrain'}, {'concept': 'administrative territorial entity of the United States'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?l WHERE { { ?l property:part_of ?v . ?l rdf:type ontology:human_settlement . ?v rdf:type ontology:terrain } UNION { ?l property:part_of ?v . ?v rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?l rdf:type ontology:human_settlement } } GROUP BY ?l } . FILTER ( ?s >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1799
P127
Q1076486
USER
Which sports venue is owned by Wrocław ?
(c(Q1076486),P127,Q1799)
action filter_type
action find_reverse
entity Q1799
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q1799']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q1799 . ?w rdf:type ontology:Q1076486 }
Wrocław
action filter_type
action find_reverse
entity Wrocław
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Wrocław']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Wrocław . ?w rdf:type ontology:sports_venue }
[]
sports venue
Q188706
SYSTEM
Stadion Miejski
Q188706
(c(Q1076486),P127,Q1799)
action filter_type
action find_reverse
entity Q1799
relation P127
type Q1076486
[ANSWER] is owned by Wrocław
[{'concept': 'Q1076486'}, 'P127', 'Q1799']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q1799 . ?w rdf:type ontology:Q1076486 }
Stadion Miejski
Stadion Miejski is owned by Wrocław
Stadion Miejski
action filter_type
action find_reverse
entity Wrocław
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Wrocław']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Wrocław . ?w rdf:type ontology:sports_venue }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1799
P190
Q515
USER
Which cities are partner towns of Wrocław ?
(Q1799,P190,c(Q515))
action filter_type
action find
entity Q1799
relation P190
type Q515
['Q1799', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q1799 property:P190 ?x . ?x rdf:type ontology:Q515 }
Wrocław
action filter_type
action find
entity Wrocław
relation sister city
type city
['Wrocław', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Wrocław property:sister_city ?x . ?x rdf:type ontology:city }
[]
city
Q1731 Q1721
SYSTEM
Dresden, Wiesbaden
Q1731 Q1721
(Q1799,P190,c(Q515))
action filter_type
action find
entity Q1799
relation P190
type Q515
[ANSWERS] are partner towns of Wrocław
['Q1799', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q1799 property:P190 ?x . ?x rdf:type ontology:Q515 }
Dresden Wiesbaden
Dresden and Wiesbaden are partner towns of Wrocław
Dresden Wiesbaden
action filter_type
action find
entity Wrocław
relation sister city
type city
['Wrocław', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Wrocław property:sister_city ?x . ?x rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q37100
Q515
USER
And also tell me about Auckland?
(Q37100,P190,c(Q515))
action filter_type
action find
entity Q37100
relation P190
type Q515
['Q37100', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q37100 property:P190 ?u . ?u rdf:type ontology:Q515 }
Auckland
action filter_type
action find
entity Auckland
relation sister city
type city
['Auckland', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Auckland property:sister_city ?u . ?u rdf:type ontology:city }
[]
city
Q16520 Q26600
SYSTEM
Busan, Fukuoka
Q16520 Q26600
(Q37100,P190,c(Q515))
action filter_type
action find
entity Q37100
relation P190
type Q515
[ANSWERS]
['Q37100', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q37100 property:P190 ?u . ?u rdf:type ontology:Q515 }
Busan Fukuoka
Busan Fukuoka
action filter_type
action find
entity Auckland
relation sister city
type city
['Auckland', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Auckland property:sister_city ?u . ?u rdf:type ontology:city }
[]