Simple Question (Direct)
Simple Question
Q1934951
P27
Q1048835
USER
Which political territory does Rasmus Marvits belong to ?
(Q1934951,P27,c(Q1048835))
action filter_type
action find
entity Q1934951
relation P27
type Q1048835
['Q1934951', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q1934951 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Rasmus Marvits
action filter_type
action find
entity Rasmus Marvits
relation country of citizenship
type political territorial entity
['Rasmus Marvits', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Rasmus_Marvits property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q1934951,P27,c(Q1048835))
action filter_type
action find
entity Q1934951
relation P27
type Q1048835
Rasmus Marvits belongs to [ANSWER]
['Q1934951', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q1934951 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Denmark
Rasmus Marvits belongs to Denmark
Denmark
action filter_type
action find
entity Rasmus Marvits
relation country of citizenship
type political territorial entity
['Rasmus Marvits', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Rasmus_Marvits property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1934951
P106
Q12737077
USER
What is the profession of that person ?
(Q35,P106,c(Q12737077))
action filter_type
action find
entity Q1934951
relation P106
type Q12737077
['Q35', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1934951 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Rasmus Marvits
action filter_type
action find
entity Rasmus Marvits
relation occupation
type occupation
['Denmark', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Rasmus_Marvits property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q35,P106,c(Q12737077))
action filter_type
action find
entity Q1934951
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q35', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1934951 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Rasmus Marvits
relation occupation
type occupation
['Denmark', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Rasmus_Marvits property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1934951
P21
Q290
USER
Which sex does that person belong to ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q1934951
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q1934951 property:P21 ?f . ?f rdf:type ontology:Q290 }
Rasmus Marvits
action filter_type
action find
entity Rasmus Marvits
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Rasmus_Marvits property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q1934951
relation P21
type Q290
That person belongs to [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q1934951 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Rasmus Marvits
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Rasmus_Marvits property:gender ?f . ?f rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q4727098
P21
Q502895
USER
Does Alison Hodgkinson have that sex as the sex ?
(Q4727098,P21,Q6581097)
action is_in
entity Q4727098
action find
entity Q6581097
relation P21
['Q4727098', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q4727098 }
male Alison Hodgkinson
action is_in
entity Alison Hodgkinson
action find
entity male
relation gender
['Alison Hodgkinson', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Alison_Hodgkinson }
[]
common name
SYSTEM
NO
(Q4727098,P21,Q6581097)
action is_in
entity Q4727098
action find
entity Q6581097
relation P21
[ANSWER]
['Q4727098', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q4727098 }
No
action is_in
entity Alison Hodgkinson
action find
entity male
relation gender
['Alison Hodgkinson', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Alison_Hodgkinson }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P1532
Q502895
USER
Who represents Denmark ?
(c(Q502895),P1532,Q35)
action filter_type
action find_reverse
entity Q35
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q35']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P1532 resource:Q35 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Denmark']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:country_for_sport resource:Denmark }
[]
common name
Q12301578
SYSTEM
Andreas Martinsen
Q12301578
(c(Q502895),P1532,Q35)
action filter_type
action find_reverse
entity Q35
relation P1532
type Q502895
[ANSWER] represents Denmark
[{'concept': 'Q502895'}, 'P1532', 'Q35']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P1532 resource:Q35 }
Andreas Martinsen
Andreas Martinsen represents Denmark
Andreas Martinsen
action filter_type
action find_reverse
entity Denmark
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Denmark']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:country_for_sport resource:Denmark }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q35
P176
Q2235308
USER
Which ship type was manufactured by that political territory ?
(c(Q2235308),P176,Q12301578)
action filter_type
action find_reverse
entity Q35
relation P176
type Q2235308
[{'concept': 'Q2235308'}, 'P176', 'Q12301578']
SELECT DISTINCT ?f WHERE { ?f property:P176 resource:Q35 . ?f rdf:type ontology:Q2235308 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation manufacturer
type ship type
[{'concept': 'ship type'}, 'manufacturer', 'Andreas Martinsen']
SELECT DISTINCT ?f WHERE { ?f property:manufacturer resource:Denmark . ?f rdf:type ontology:ship_type }
[]
ship type
Q4699932
SYSTEM
Ajonpää class minesweeper
Q4699932
(c(Q2235308),P176,Q12301578)
action filter_type
action find_reverse
entity Q35
relation P176
type Q2235308
[ANSWER] was manufactured by that political territory
[{'concept': 'Q2235308'}, 'P176', 'Q12301578']
SELECT DISTINCT ?f WHERE { ?f property:P176 resource:Q35 . ?f rdf:type ontology:Q2235308 }
Ajonpää class minesweeper
Ajonpää class minesweeper was manufactured by that political territory
Ajonpää class minesweeper
action filter_type
action find_reverse
entity Denmark
relation manufacturer
type ship type
[{'concept': 'ship type'}, 'manufacturer', 'Andreas Martinsen']
SELECT DISTINCT ?f WHERE { ?f property:manufacturer resource:Denmark . ?f rdf:type ontology:ship_type }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q35
P6
Q502895
USER
How many people are Denmark the head of goverment of ?
(Q35,P6,c(Q502895))
action count
action filter_type
action find
entity Q35
relation P6
type Q502895
['Q35', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:Q35 property:P6 ?q . ?q rdf:type ontology:Q502895 }
Denmark
action count
action filter_type
action find
entity Denmark
relation head of government
type common name
['Denmark', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:Denmark property:head_of_government ?q . ?q rdf:type ontology:common_name }
[]
common name
SYSTEM
41
Q441330 Q1040851 Q1037599 Q966436 Q918287 Q57652 Q503087 Q725118 Q264340 Q727237 Q1634992 Q1274220 Q782403 Q351178 Q367557 Q1375737 Q1343866 Q491280 Q721358 Q1375094 Q1343877 Q312881 Q46052 Q1335084 Q1744787 Q1576188 Q182397 Q327190 Q348901 Q572189 Q664052 Q710950 Q311063 Q1874069 Q947789 Q591189 Q1375050 Q947911 Q694093 Q731504 Q982328
(Q35,P6,c(Q502895))
action count
action filter_type
action find
entity Q35
relation P6
type Q502895
[ANSWER]
['Q35', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:Q35 property:P6 ?q . ?q rdf:type ontology:Q502895 }
Jens Otto Krag Carl Theodor Zahle Carl Edvard Rotwitt Christen Andreas Fonnesbech Viggo Kampmann Helle Thorning-Schmidt Hans Hedtoft Carl Christian Hall Klaus Berntsen Hilmar Baunsgaard Hugo Egmont Hørring Jens Christian Christensen Christian Emil Krag-Juel-Vind-Frijs Adam Wilhelm Moltke Thorvald Stauning Michael Pedersen Friis Ludvig Holstein-Holsteinborg Anders Sandøe Ørsted H. C. Hansen Niels Neergaard Jacob Brønnum Scavenius Estrup Anker Jørgensen Anders Fogh Rasmussen Knud Kristensen Otto Liebe Hannibal Sehested Lars Løkke Rasmussen Poul Schlüter Poul Hartling Johan Henrik Deuntzer Vilhelm Buhl Erik Eriksen Poul Nyrup Rasmussen Ludvig Holstein-Ledreborg Carl Christoffer Georg Andræ Peter Georg Bang Tage Reedtz-Thott Christian Albrecht Bluhme Ditlev Gothard Monrad Erik Scavenius Thomas Madsen-Mygdal
41
action count
action filter_type
action find
entity Denmark
relation head of government
type common name
['Denmark', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:Denmark property:head_of_government ?q . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q207605
Q502895
USER
And what about Noisy-le-Grand?
(Q207605,P6,c(Q502895))
action count
action filter_type
action find
entity Q207605
relation P6
type Q502895
['Q207605', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ontology:Q502895 . resource:Q207605 property:P6 ?o }
Noisy-le-Grand
action count
action filter_type
action find
entity Noisy-le-Grand
relation head of government
type common name
['Noisy-le-Grand', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ontology:common_name . resource:Noisy-le-Grand property:head_of_government ?o }
[]
common name
SYSTEM
1
(Q207605,P6,c(Q502895))
action count
action filter_type
action find
entity Q207605
relation P6
type Q502895
[ANSWER]
['Q207605', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ontology:Q502895 . resource:Q207605 property:P6 ?o }
1
action count
action filter_type
action find
entity Noisy-le-Grand
relation head of government
type common name
['Noisy-le-Grand', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ontology:common_name . resource:Noisy-le-Grand property:head_of_government ?o }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q926990 Q1934951
P641
Q349
USER
Which sports did Rasmus Marvits and Thomas Thorninger participate in ?
AND((Q1934951,P641,c(Q349)), (Q926990,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q1934951
relation P641
action find
entity Q926990
relation P641
type Q349
{'AND': [['Q1934951', 'P641', {'concept': 'Q349'}], ['Q926990', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?d WHERE { resource:Q1934951 property:P641 ?d . resource:Q926990 property:P641 ?d . ?d rdf:type ontology:Q349 }
Thomas Thorninger Rasmus Marvits
action filter_type
action intersection
action find
entity Rasmus Marvits
relation sport
action find
entity Thomas Thorninger
relation sport
type sport
{'AND': [['Rasmus Marvits', 'sport', {'concept': 'sport'}], ['Thomas Thorninger', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?d WHERE { resource:Rasmus_Marvits property:sport ?d . resource:Thomas_Thorninger property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q1934951,P641,c(Q349)), (Q926990,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q1934951
relation P641
action find
entity Q926990
relation P641
type Q349
Rasmus Marvits and Thomas Thorninger participated in [ANSWER]
{'AND': [['Q1934951', 'P641', {'concept': 'Q349'}], ['Q926990', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?d WHERE { resource:Q1934951 property:P641 ?d . resource:Q926990 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
Rasmus Marvits and Thomas Thorninger participated in association football
association football
action filter_type
action intersection
action find
entity Rasmus Marvits
relation sport
action find
entity Thomas Thorninger
relation sport
type sport
{'AND': [['Rasmus Marvits', 'sport', {'concept': 'sport'}], ['Thomas Thorninger', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?d WHERE { resource:Rasmus_Marvits property:sport ?d . resource:Thomas_Thorninger property:sport ?d . ?d rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Where did that sport originate ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?z WHERE { resource:Q2736 property:P495 ?z . ?z rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:association_football property:country_of_origin ?z . ?z rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
That sport originated in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?z WHERE { resource:Q2736 property:P495 ?z . ?z rdf:type ontology:Q1496967 }
England
That sport originated in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:association_football property:country_of_origin ?z . ?z rdf:type ontology:territorial_entity }
[]