Simple Question (Direct)
Simple Question
Q1820814
P39
Q12737077
USER
Which occupation was a position occupied by Leslie Munro ?
(Q1820814,P39,c(Q12737077))
action filter_type
action find
entity Q1820814
relation P39
type Q12737077
['Q1820814', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q1820814 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Leslie Munro
action filter_type
action find
entity Leslie Munro
relation position held
type occupation
['Leslie Munro', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Leslie_Munro property:position_held ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q18145518
SYSTEM
Member of the New Zealand House of Representatives
Q18145518
(Q1820814,P39,c(Q12737077))
action filter_type
action find
entity Q1820814
relation P39
type Q12737077
The [ANSWER] was a position occupied by Leslie Munro
['Q1820814', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q1820814 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Member of the New Zealand House of Representatives
The Member of the New Zealand House of Representatives was a position occupied by Leslie Munro
Member of the New Zealand House of Representatives
action filter_type
action find
entity Leslie Munro
relation position held
type occupation
['Leslie Munro', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Leslie_Munro property:position_held ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18145518
P1001
Q1048835
USER
Which political territory applies to jurisdiction of that occupation ?
(Q18145518,P1001,c(Q1048835))
action filter_type
action find
entity Q18145518
relation P1001
type Q1048835
['Q18145518', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q18145518 property:P1001 ?q . ?q rdf:type ontology:Q1048835 }
Member of the New Zealand House of Representatives
action filter_type
action find
entity Member of the New Zealand House of Representatives
relation applies to jurisdiction
type political territorial entity
['Member of the New Zealand House of Representatives', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Member_of_the_New_Zealand_House_of_Representatives property:applies_to_jurisdiction ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664
SYSTEM
New Zealand
Q664
(Q18145518,P1001,c(Q1048835))
action filter_type
action find
entity Q18145518
relation P1001
type Q1048835
[ANSWER] applies to jurisdiction of that occupation
['Q18145518', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q18145518 property:P1001 ?q . ?q rdf:type ontology:Q1048835 }
New Zealand
New Zealand applies to jurisdiction of that occupation
New Zealand
action filter_type
action find
entity Member of the New Zealand House of Representatives
relation applies to jurisdiction
type political territorial entity
['Member of the New Zealand House of Representatives', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Member_of_the_New_Zealand_House_of_Representatives property:applies_to_jurisdiction ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18145518
P361
Q2145277
USER
What is that occupation a portion of ?
(Q664,P361,c(Q2145277))
action filter_type
action find
entity Q18145518
relation P361
type Q2145277
['Q664', 'P361', {'concept': 'Q2145277'}]
SELECT DISTINCT ?n WHERE { resource:Q18145518 property:P361 ?n . ?n rdf:type ontology:Q2145277 }
Member of the New Zealand House of Representatives
action filter_type
action find
entity Member of the New Zealand House of Representatives
relation part of
type House of Representatives
['New Zealand', 'part of', {'concept': 'House of Representatives'}]
SELECT DISTINCT ?n WHERE { resource:Member_of_the_New_Zealand_House_of_Representatives property:part_of ?n . ?n rdf:type ontology:House_of_Representatives }
[]
House of Representatives
Q2034424
SYSTEM
House of Representatives
Q2034424
(Q664,P361,c(Q2145277))
action filter_type
action find
entity Q18145518
relation P361
type Q2145277
That occupation a portion of is the [ANSWER]
['Q664', 'P361', {'concept': 'Q2145277'}]
SELECT DISTINCT ?n WHERE { resource:Q18145518 property:P361 ?n . ?n rdf:type ontology:Q2145277 }
House of Representatives
That occupation a portion of is the House of Representatives
House of Representatives
action filter_type
action find
entity Member of the New Zealand House of Representatives
relation part of
type House of Representatives
['New Zealand', 'part of', {'concept': 'House of Representatives'}]
SELECT DISTINCT ?n WHERE { resource:Member_of_the_New_Zealand_House_of_Representatives property:part_of ?n . ?n rdf:type ontology:House_of_Representatives }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2034424
P17
Q1048835
USER
Which political territory is that House of Representatives situated in ?
(Q2034424,P17,c(Q1048835))
action filter_type
action find
entity Q2034424
relation P17
type Q1048835
['Q2034424', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q2034424 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
House of Representatives
action filter_type
action find
entity House of Representatives
relation country
type political territorial entity
['House of Representatives', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:House_of_Representatives property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664
SYSTEM
New Zealand
Q664
(Q2034424,P17,c(Q1048835))
action filter_type
action find
entity Q2034424
relation P17
type Q1048835
That House of Representatives is situated in [ANSWER]
['Q2034424', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q2034424 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
New Zealand
That House of Representatives is situated in New Zealand
New Zealand
action filter_type
action find
entity House of Representatives
relation country
type political territorial entity
['House of Representatives', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:House_of_Representatives property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q664
P840
Q2342494
USER
Which collectable has its narrative set in that political territory ?
(c(Q2342494),P840,Q664)
action filter_type
action find_reverse
entity Q664
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q664']
SELECT DISTINCT ?c WHERE { ?c property:P840 resource:Q664 . ?c rdf:type ontology:Q2342494 }
New Zealand
action filter_type
action find_reverse
entity New Zealand
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'New Zealand']
SELECT DISTINCT ?c WHERE { ?c property:narrative_location resource:New_Zealand . ?c rdf:type ontology:collectable }
[]
collectable
Q15715646
SYSTEM
A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour
Q15715646
(c(Q2342494),P840,Q664)
action filter_type
action find_reverse
entity Q664
relation P840
type Q2342494
[ANSWER] has its narrative set in that political territory
[{'concept': 'Q2342494'}, 'P840', 'Q664']
SELECT DISTINCT ?c WHERE { ?c property:P840 resource:Q664 . ?c rdf:type ontology:Q2342494 }
A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour
A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour has its narrative set in that political territory
A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour
action filter_type
action find_reverse
entity New Zealand
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'New Zealand']
SELECT DISTINCT ?c WHERE { ?c property:narrative_location resource:New_Zealand . ?c rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P840
Q1048835 Q271669
USER
How many political territories and landforms are that collectable set in ?
(Q15715646,P840,c(Q1048835)) (Q15715646,P840,c(Q271669)) (Q15715646,P840,c(Q1048835)) (Q15715646,P840,c(Q271669))
action count
action union
action filter_type
action find
entity Q15715646
relation P840
type Q1048835
action filter_type
action find
entity Q15715646
relation P840
type Q271669
['Q15715646', 'P840', {'concept': 'Q1048835'}] ['Q15715646', 'P840', {'concept': 'Q271669'}] ['Q15715646', 'P840', {'concept': 'Q1048835'}] ['Q15715646', 'P840', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:Q15715646 property:P840 ?r . ?r rdf:type ontology:Q1048835 } UNION { ?r rdf:type ontology:Q271669 . resource:Q15715646 property:P840 ?r } }
action count
action union
action filter_type
action find
entity A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour
relation narrative location
type political territorial entity
action filter_type
action find
entity A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour
relation narrative location
type landform
["A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour", 'narrative location', {'concept': 'political territorial entity'}] ["A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour", 'narrative location', {'concept': 'landform'}] ["A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour", 'narrative location', {'concept': 'political territorial entity'}] ["A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour", 'narrative location', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:A_Journal_of_a_Voyage_to_the_South_Seas_in_His_Majesty's_Ship_the_Endeavour property:narrative_location ?r . ?r rdf:type ontology:political_territorial_entity } UNION { ?r rdf:type ontology:landform . resource:A_Journal_of_a_Voyage_to_the_South_Seas_in_His_Majesty's_Ship_the_Endeavour property:narrative_location ?r } }
[]
political territorial entity landform
SYSTEM
2 political territories and 1 landforms
Q664 Q408 Q42000
(Q15715646,P840,c(Q1048835)) (Q15715646,P840,c(Q271669)) (Q15715646,P840,c(Q1048835)) (Q15715646,P840,c(Q271669))
action count
action union
action filter_type
action find
entity Q15715646
relation P840
type Q1048835
action filter_type
action find
entity Q15715646
relation P840
type Q271669
[ANSWER]
['Q15715646', 'P840', {'concept': 'Q1048835'}] ['Q15715646', 'P840', {'concept': 'Q271669'}] ['Q15715646', 'P840', {'concept': 'Q1048835'}] ['Q15715646', 'P840', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:Q15715646 property:P840 ?r . ?r rdf:type ontology:Q1048835 } UNION { ?r rdf:type ontology:Q271669 . resource:Q15715646 property:P840 ?r } }
New Zealand Australia Tahiti
2 political territories and 1 landforms
action count
action union
action filter_type
action find
entity A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour
relation narrative location
type political territorial entity
action filter_type
action find
entity A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour
relation narrative location
type landform
["A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour", 'narrative location', {'concept': 'political territorial entity'}] ["A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour", 'narrative location', {'concept': 'landform'}] ["A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour", 'narrative location', {'concept': 'political territorial entity'}] ["A Journal of a Voyage to the South Seas in His Majesty's Ship the Endeavour", 'narrative location', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { resource:A_Journal_of_a_Voyage_to_the_South_Seas_in_His_Majesty's_Ship_the_Endeavour property:narrative_location ?r . ?r rdf:type ontology:political_territorial_entity } UNION { ?r rdf:type ontology:landform . resource:A_Journal_of_a_Voyage_to_the_South_Seas_in_His_Majesty's_Ship_the_Endeavour property:narrative_location ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q664
P610
Q14524493
USER
Which is the zenith of New Zealand ?
(Q664,P610,c(Q14524493))
action filter_type
action find
entity Q664
relation P610
type Q14524493
['Q664', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q664 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
New Zealand
action filter_type
action find
entity New Zealand
relation highest point
type terrain
['New Zealand', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:New_Zealand property:highest_point ?y . ?y rdf:type ontology:terrain }
[]
terrain
Q5059
SYSTEM
Mount Cook
Q5059
(Q664,P610,c(Q14524493))
action filter_type
action find
entity Q664
relation P610
type Q14524493
The zenith of New Zealand is [ANSWER]
['Q664', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q664 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
Mount Cook
The zenith of New Zealand is Mount Cook
Mount Cook
action filter_type
action find
entity New Zealand
relation highest point
type terrain
['New Zealand', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:New_Zealand property:highest_point ?y . ?y rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5059
P138
Q502895
USER
Which person is the origin of that terrain ?
(Q5059,P138,c(Q502895))
action filter_type
action find
entity Q5059
relation P138
type Q502895
['Q5059', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q5059 property:P138 ?n . ?n rdf:type ontology:Q502895 }
Mount Cook
action filter_type
action find
entity Mount Cook
relation named after
type common name
['Mount Cook', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Mount_Cook property:named_after ?n . ?n rdf:type ontology:common_name }
[]
common name
Q7324
SYSTEM
James Cook
Q7324
(Q5059,P138,c(Q502895))
action filter_type
action find
entity Q5059
relation P138
type Q502895
The [ANSWER] is the origin of that terrain
['Q5059', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q5059 property:P138 ?n . ?n rdf:type ontology:Q502895 }
James Cook
The James Cook is the origin of that terrain
James Cook
action filter_type
action find
entity Mount Cook
relation named after
type common name
['Mount Cook', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Mount_Cook property:named_after ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q5059
P610
Q1048835 Q271669
USER
How many political territories and landforms are Mount Cook the highest point of ?
(c(Q1048835),P610,Q5059) (c(Q271669),P610,Q5059)
action count
action union
action filter_type
action find_reverse
entity Q5059
relation P610
type Q1048835
action filter_type
action find_reverse
entity Q5059
relation P610
type Q271669
[{'concept': 'Q1048835'}, 'P610', 'Q5059'] [{'concept': 'Q271669'}, 'P610', 'Q5059']
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { ?f property:P610 resource:Q5059 . ?f rdf:type ontology:Q1048835 } UNION { ?f rdf:type ontology:Q271669 . ?f property:P610 resource:Q5059 } }
Mount Cook
action count
action union
action filter_type
action find_reverse
entity Mount Cook
relation highest point
type political territorial entity
action filter_type
action find_reverse
entity Mount Cook
relation highest point
type landform
[{'concept': 'political territorial entity'}, 'highest point', 'Mount Cook'] [{'concept': 'landform'}, 'highest point', 'Mount Cook']
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { ?f property:highest_point resource:Mount_Cook . ?f rdf:type ontology:political_territorial_entity } UNION { ?f rdf:type ontology:landform . ?f property:highest_point resource:Mount_Cook } }
[]
political territorial entity landform
SYSTEM
1 political territories and 1 landforms
Q664 Q120755
(c(Q1048835),P610,Q5059) (c(Q271669),P610,Q5059)
action count
action union
action filter_type
action find_reverse
entity Q5059
relation P610
type Q1048835
action filter_type
action find_reverse
entity Q5059
relation P610
type Q271669
[ANSWER]
[{'concept': 'Q1048835'}, 'P610', 'Q5059'] [{'concept': 'Q271669'}, 'P610', 'Q5059']
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { ?f property:P610 resource:Q5059 . ?f rdf:type ontology:Q1048835 } UNION { ?f rdf:type ontology:Q271669 . ?f property:P610 resource:Q5059 } }
New Zealand South Island
1 political territories and 1 landforms
action count
action union
action filter_type
action find_reverse
entity Mount Cook
relation highest point
type political territorial entity
action filter_type
action find_reverse
entity Mount Cook
relation highest point
type landform
[{'concept': 'political territorial entity'}, 'highest point', 'Mount Cook'] [{'concept': 'landform'}, 'highest point', 'Mount Cook']
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { { ?f property:highest_point resource:Mount_Cook . ?f rdf:type ontology:political_territorial_entity } UNION { ?f rdf:type ontology:landform . ?f property:highest_point resource:Mount_Cook } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q664 Q881358
P361
Q2221906
USER
How many geographic locations are New Zealand or Cape Roux a portion of ?
(Q664,P361,c(Q2221906)) (Q881358,P361,c(Q2221906))
action count
action union
action filter_type
action find
entity Q664
relation P361
type Q2221906
action filter_type
action find
entity Q881358
relation P361
type Q2221906
['Q664', 'P361', {'concept': 'Q2221906'}] ['Q881358', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { resource:Q664 property:P361 ?b . ?b rdf:type ontology:Q2221906 } UNION { ?b rdf:type ontology:Q2221906 . resource:Q881358 property:P361 ?b } }
New Zealand Cape Roux
action count
action union
action filter_type
action find
entity New Zealand
relation part of
type geographic location
action filter_type
action find
entity Cape Roux
relation part of
type geographic location
['New Zealand', 'part of', {'concept': 'geographic location'}] ['Cape Roux', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { resource:New_Zealand property:part_of ?b . ?b rdf:type ontology:geographic_location } UNION { ?b rdf:type ontology:geographic_location . resource:Cape_Roux property:part_of ?b } }
[]
geographic location
SYSTEM
2
Q45256 Q2680496
(Q664,P361,c(Q2221906)) (Q881358,P361,c(Q2221906))
action count
action union
action filter_type
action find
entity Q664
relation P361
type Q2221906
action filter_type
action find
entity Q881358
relation P361
type Q2221906
[ANSWER]
['Q664', 'P361', {'concept': 'Q2221906'}] ['Q881358', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { resource:Q664 property:P361 ?b . ?b rdf:type ontology:Q2221906 } UNION { ?b rdf:type ontology:Q2221906 . resource:Q881358 property:P361 ?b } }
Australasia Pasteur Peninsula
2
action count
action union
action filter_type
action find
entity New Zealand
relation part of
type geographic location
action filter_type
action find
entity Cape Roux
relation part of
type geographic location
['New Zealand', 'part of', {'concept': 'geographic location'}] ['Cape Roux', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { { resource:New_Zealand property:part_of ?b . ?b rdf:type ontology:geographic_location } UNION { ?b rdf:type ontology:geographic_location . resource:Cape_Roux property:part_of ?b } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21712401 Q881358
P30 P180
Q2221906
USER
Which geographic locations are Cape Roux situated or are demonstrated in Étretat. The Cliff of Aval ?
OR((Q881358,P30,c(Q2221906)), (Q21712401,P180,c(Q2221906)))
action filter_type
action union
action find
entity Q881358
relation P30
action find
entity Q21712401
relation P180
type Q2221906
{'OR': [['Q881358', 'P30', {'concept': 'Q2221906'}], ['Q21712401', 'P180', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q881358 property:P30 ?w } UNION { resource:Q21712401 property:P180 ?w } } . ?w rdf:type ontology:Q2221906 }
Étretat. The Cliff of Aval Cape Roux
action filter_type
action union
action find
entity Cape Roux
relation continent
action find
entity Étretat. The Cliff of Aval
relation depicts
type geographic location
{'OR': [['Cape Roux', 'continent', {'concept': 'geographic location'}], ['Étretat. The Cliff of Aval', 'depicts', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Cape_Roux property:continent ?w } UNION { resource:Étretat._The_Cliff_of_Aval property:depicts ?w } } . ?w rdf:type ontology:geographic_location }
[]
geographic location
Q51 Q107679
SYSTEM
Antarctica, cliff
Q51 Q107679
OR((Q881358,P30,c(Q2221906)), (Q21712401,P180,c(Q2221906)))
action filter_type
action union
action find
entity Q881358
relation P30
action find
entity Q21712401
relation P180
type Q2221906
Cape Roux are situated demonstrated in [ANSWERS] .
{'OR': [['Q881358', 'P30', {'concept': 'Q2221906'}], ['Q21712401', 'P180', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q881358 property:P30 ?w } UNION { resource:Q21712401 property:P180 ?w } } . ?w rdf:type ontology:Q2221906 }
Antarctica cliff
Cape Roux are situated demonstrated in Antarctica and cliff .
Antarctica cliff
action filter_type
action union
action find
entity Cape Roux
relation continent
action find
entity Étretat. The Cliff of Aval
relation depicts
type geographic location
{'OR': [['Cape Roux', 'continent', {'concept': 'geographic location'}], ['Étretat. The Cliff of Aval', 'depicts', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Cape_Roux property:continent ?w } UNION { resource:Étretat._The_Cliff_of_Aval property:depicts ?w } } . ?w rdf:type ontology:geographic_location }
[]
Clarification
Simple Question|Single Entity|Indirect
Q51
P101
Q502895
USER
Which people have field of work as that geographic location ?
(c(Q502895),P101,Q51)
action filter_type
action find_reverse
entity Q51
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q51']
SELECT DISTINCT ?d WHERE { ?d property:P101 resource:Q51 . ?d rdf:type ontology:Q502895 }
Antarctica
action filter_type
action find_reverse
entity Antarctica
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Antarctica']
SELECT DISTINCT ?d WHERE { ?d property:field_of_work resource:Antarctica . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q107679
SYSTEM
Did you mean cliff ?
Q51 Q107679
(c(Q502895),P101,Q51) (c(Q502895),P101,Q107679)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q51'] [{'concept': 'Q502895'}, 'P101', 'Q107679']
SELECT DISTINCT ?d WHERE { ?d property:P101 resource:Q51 . ?d rdf:type ontology:Q502895 }
Antarctica cliff
Did you mean cliff ?
cliff
[{'concept': 'common name'}, 'field of work', 'Antarctica'] [{'concept': 'common name'}, 'field of work', 'cliff']
SELECT DISTINCT ?d WHERE { ?d property:field_of_work resource:Antarctica . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Antarctica. Could you tell me the answer for that?
(c(Q502895),P101,Q51)
Q51
[{'concept': 'Q502895'}, 'P101', 'Q51']
[{'concept': 'common name'}, 'field of work', 'Antarctica']
[]
Q26480639 Q26789242 Q24718066
SYSTEM
Alison Murray (scientist), Veronica Vallejos, Carlotta Escutia Dotti
Q26480639 Q26789242 Q24718066 Q26869401 Q24732747 Q24713009 Q24702106 Q24716837
(c(Q502895),P101,Q51)
action filter_type
action find_reverse
entity Q51
relation P101
type Q502895
[ANSWERS] have field of work as that geographic location
[{'concept': 'Q502895'}, 'P101', 'Q51']
SELECT DISTINCT ?d WHERE { ?d property:P101 resource:Q51 . ?d rdf:type ontology:Q502895 }
Alison Murray (scientist) Veronica Vallejos Carlotta Escutia Dotti Elizabeth Chipman Jessica Melbourne-Thomas Jennifer Lee Doris Abele Hong Kum Lee
Alison Murray (scientist), Veronica Vallejos and Carlotta Escutia Dotti have field of work as that geographic location
Alison Murray (scientist) Veronica Vallejos Carlotta Escutia Dotti
action filter_type
action find_reverse
entity Antarctica
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Antarctica']
SELECT DISTINCT ?d WHERE { ?d property:field_of_work resource:Antarctica . ?d rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q81982
P1303
Q34379 Q502895
USER
Which musical instruments are played by more number of people than harpsichord ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q81982
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { resource:Q81982 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?i > ?k ) }
harpsichord
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harpsichord
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { resource:harpsichord property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?i > ?k ) }
[]
musical instrument common name
Q5994 Q80284 Q46185
SYSTEM
piano, viola, bass guitar
Q80284 Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q81982
relation P1303
type Q34379
[ANSWERS] are played by more number of people than harpsichord
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { resource:Q81982 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?i > ?k ) }
viola bass guitar double bass piano trumpet cello violin organ drum kit electronic keyboard
Piano, viola and bass guitar are played by more number of people than harpsichord
piano viola bass guitar
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harpsichord
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?i ) WHERE { ?o property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?k ) WHERE { resource:harpsichord property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?i > ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q201129
P1303
Q34379 Q502895
USER
And what about lyre?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q201129
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?s ) WHERE { ?h rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 . ?i property:P1303 ?h } GROUP BY ?h } . FILTER ( ?s > ?v ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Q201129 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } }
lyre
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity lyre
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?s ) WHERE { ?h rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name . ?i property:instrument ?h } GROUP BY ?h } . FILTER ( ?s > ?v ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:lyre property:instrument ?b . ?b rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q626035 Q742180 Q1444 Q220971 Q128309 Q726306 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q201129
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?s ) WHERE { ?h rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 . ?i property:P1303 ?h } GROUP BY ?h } . FILTER ( ?s > ?v ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Q201129 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla glockenspiel viola d'amore organ marimba drum kit erhu electronic keyboard drum
piano harpsichord viola
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity lyre
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?s ) WHERE { ?h rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name . ?i property:instrument ?h } GROUP BY ?h } . FILTER ( ?s > ?v ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:lyre property:instrument ?b . ?b rdf:type ontology:musical_instrument } } }
[]