Simple Question (Direct)
Simple Question
Q2903702
P19
Q56061
USER
Which administrative territory was Billy Paynter born at ?
(Q2903702,P19,c(Q56061))
action filter_type
action find
entity Q2903702
relation P19
type Q56061
['Q2903702', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q2903702 property:P19 ?k }
Billy Paynter
action filter_type
action find
entity Billy Paynter
relation place of birth
type administrative territorial entity
['Billy Paynter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Billy_Paynter property:place_of_birth ?k }
[]
administrative territorial entity
Q24826
SYSTEM
Liverpool
Q24826
(Q2903702,P19,c(Q56061))
action filter_type
action find
entity Q2903702
relation P19
type Q56061
Billy Paynter was born in [ANSWER]
['Q2903702', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q2903702 property:P19 ?k }
Liverpool
Billy Paynter was born in Liverpool
Liverpool
action filter_type
action find
entity Billy Paynter
relation place of birth
type administrative territorial entity
['Billy Paynter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Billy_Paynter property:place_of_birth ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2903702
P641
Q349
USER
Which sport did Billy Paynter participate in ?
(Q2903702,P641,c(Q349))
action filter_type
action find
entity Q2903702
relation P641
type Q349
['Q2903702', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q2903702 property:P641 ?o . ?o rdf:type ontology:Q349 }
Billy Paynter
action filter_type
action find
entity Billy Paynter
relation sport
type sport
['Billy Paynter', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Billy_Paynter property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2903702,P641,c(Q349))
action filter_type
action find
entity Q2903702
relation P641
type Q349
Billy Paynter participated in [ANSWER]
['Q2903702', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q2903702 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Billy Paynter participated in association football
association football
action filter_type
action find
entity Billy Paynter
relation sport
type sport
['Billy Paynter', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Billy_Paynter property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24826
P609
Q83620
USER
Which thoroughfare is Liverpool a terminus location of ?
(c(Q83620),P609,Q24826)
action filter_type
action find_reverse
entity Q24826
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q24826']
SELECT DISTINCT ?q WHERE { ?q property:P609 resource:Q24826 . ?q rdf:type ontology:Q83620 }
Liverpool
action filter_type
action find_reverse
entity Liverpool
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Liverpool']
SELECT DISTINCT ?q WHERE { ?q property:terminus_location resource:Liverpool . ?q rdf:type ontology:thoroughfare }
[]
thoroughfare
Q16896879
SYSTEM
National Cycle Route 56
Q16896879
(c(Q83620),P609,Q24826)
action filter_type
action find_reverse
entity Q24826
relation P609
type Q83620
Which thoroughfare is Liverpool a terminus location of
[{'concept': 'Q83620'}, 'P609', 'Q24826']
SELECT DISTINCT ?q WHERE { ?q property:P609 resource:Q24826 . ?q rdf:type ontology:Q83620 }
National Cycle Route 56
Which thoroughfare is Liverpool a terminus location of
National Cycle Route 56
action filter_type
action find_reverse
entity Liverpool
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Liverpool']
SELECT DISTINCT ?q WHERE { ?q property:terminus_location resource:Liverpool . ?q rdf:type ontology:thoroughfare }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24826
P190
Q515
USER
Which city is sister town of Liverpool ?
(Q24826,P190,c(Q515))
action filter_type
action find
entity Q24826
relation P190
type Q515
['Q24826', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { resource:Q24826 property:P190 ?s . ?s rdf:type ontology:Q515 }
Liverpool
action filter_type
action find
entity Liverpool
relation sister city
type city
['Liverpool', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { resource:Liverpool property:sister_city ?s . ?s rdf:type ontology:city }
[]
city
Q1761
SYSTEM
Dublin
Q1761
(Q24826,P190,c(Q515))
action filter_type
action find
entity Q24826
relation P190
type Q515
[ANSWER] is sister town of Liverpool
['Q24826', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { resource:Q24826 property:P190 ?s . ?s rdf:type ontology:Q515 }
Dublin
Dublin is sister town of Liverpool
Dublin
action filter_type
action find
entity Liverpool
relation sister city
type city
['Liverpool', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { resource:Liverpool property:sister_city ?s . ?s rdf:type ontology:city }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q24826
Q56061
USER
And which administrative territory?
(Q24826,P190,c(Q56061))
action filter_type
action find
entity Q24826
relation P190
type Q56061
['Q24826', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q24826 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Liverpool
action filter_type
action find
entity Liverpool
relation sister city
type administrative territorial entity
['Liverpool', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Liverpool property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8686 Q8678 Q1874
SYSTEM
Shanghai, Rio de Janeiro, Odessa
Q8686 Q6506 Q8678 Q365 Q1874 Q34370
(Q24826,P190,c(Q56061))
action filter_type
action find
entity Q24826
relation P190
type Q56061
[ANSWERS]
['Q24826', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q24826 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Shanghai Varna Rio de Janeiro Cologne Odessa Rotterdam
Shanghai Rio de Janeiro Odessa
action filter_type
action find
entity Liverpool
relation sister city
type administrative territorial entity
['Liverpool', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Liverpool property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q8686 Q8678 Q1874
P17
Q15617994
USER
Which administrative territories do Shanghai, Rio de Janeiro and Odessa belong to ?
(Q8686,P17,c(Q15617994)) (Q8678,P17,c(Q15617994)) (Q1874,P17,c(Q15617994))
action union
action filter_type
action find
entity Q8686
relation P17
type Q15617994
action filter_type
action find
entity Q8678
relation P17
type Q15617994
action filter_type
action find
entity Q1874
relation P17
type Q15617994
['Q8686', 'P17', {'concept': 'Q15617994'}] ['Q8678', 'P17', {'concept': 'Q15617994'}] ['Q1874', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { resource:Q8678 property:P17 ?x . ?x rdf:type ontology:Q15617994 } UNION { resource:Q8686 property:P17 ?x . ?x rdf:type ontology:Q15617994 } }
Shanghai Rio de Janeiro Odessa
action union
action filter_type
action find
entity Shanghai
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Rio de Janeiro
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Odessa
relation country
type designation for an administrative territorial entity
['Shanghai', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Rio de Janeiro', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Odessa', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { resource:Rio_de_Janeiro property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Shanghai property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q148 Q155 Q212
SYSTEM
People's Republic of China, Brazil, Ukraine
Q148 Q155 Q212
(Q8686,P17,c(Q15617994)) (Q8678,P17,c(Q15617994)) (Q1874,P17,c(Q15617994))
action union
action filter_type
action find
entity Q8686
relation P17
type Q15617994
action filter_type
action find
entity Q8678
relation P17
type Q15617994
action filter_type
action find
entity Q1874
relation P17
type Q15617994
[ANSWERS] Shanghai, Rio de Janeiro and Odessa belong to
['Q8686', 'P17', {'concept': 'Q15617994'}] ['Q8678', 'P17', {'concept': 'Q15617994'}] ['Q1874', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { resource:Q8678 property:P17 ?x . ?x rdf:type ontology:Q15617994 } UNION { resource:Q8686 property:P17 ?x . ?x rdf:type ontology:Q15617994 } }
People's Republic of China Brazil Ukraine
People's Republic of China, Brazil and Ukraine Shanghai, Rio de Janeiro and Odessa belong to
People's Republic of China Brazil Ukraine
action union
action filter_type
action find
entity Shanghai
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Rio de Janeiro
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Odessa
relation country
type designation for an administrative territorial entity
['Shanghai', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Rio de Janeiro', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Odessa', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { resource:Rio_de_Janeiro property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Shanghai property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q148 Q155 Q212
P610
Q14524493
USER
Which are the highest point of People's Republic of China, Brazil and Ukraine ?
(Q148,P610,c(Q14524493)) (Q155,P610,c(Q14524493)) (Q212,P610,c(Q14524493))
action union
action filter_type
action find
entity Q148
relation P610
type Q14524493
action filter_type
action find
entity Q155
relation P610
type Q14524493
action filter_type
action find
entity Q212
relation P610
type Q14524493
['Q148', 'P610', {'concept': 'Q14524493'}] ['Q155', 'P610', {'concept': 'Q14524493'}] ['Q212', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?f WHERE { { resource:Q148 property:P610 ?f . ?f rdf:type ontology:Q14524493 } UNION { resource:Q155 property:P610 ?f . ?f rdf:type ontology:Q14524493 } }
People's Republic of China Brazil Ukraine
action union
action filter_type
action find
entity People's Republic of China
relation highest point
type terrain
action filter_type
action find
entity Brazil
relation highest point
type terrain
action filter_type
action find
entity Ukraine
relation highest point
type terrain
["People's Republic of China", 'highest point', {'concept': 'terrain'}] ['Brazil', 'highest point', {'concept': 'terrain'}] ['Ukraine', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?f WHERE { { resource:People's_Republic_of_China property:highest_point ?f . ?f rdf:type ontology:terrain } UNION { resource:Brazil property:highest_point ?f . ?f rdf:type ontology:terrain } }
[]
terrain
Q513 Q739484 Q627508
SYSTEM
Mount Everest, Pico da Neblina, Hoverla
Q513 Q739484 Q627508
(Q148,P610,c(Q14524493)) (Q155,P610,c(Q14524493)) (Q212,P610,c(Q14524493))
action union
action filter_type
action find
entity Q148
relation P610
type Q14524493
action filter_type
action find
entity Q155
relation P610
type Q14524493
action filter_type
action find
entity Q212
relation P610
type Q14524493
The highest point of People's Republic of China , Brazil and Ukraine are the [ANSWERS]
['Q148', 'P610', {'concept': 'Q14524493'}] ['Q155', 'P610', {'concept': 'Q14524493'}] ['Q212', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?f WHERE { { resource:Q148 property:P610 ?f . ?f rdf:type ontology:Q14524493 } UNION { resource:Q155 property:P610 ?f . ?f rdf:type ontology:Q14524493 } }
Mount Everest Pico da Neblina Hoverla
The highest point of People's Republic of China , Brazil and Ukraine are the Mount Everest, Pico da Neblina and Hoverla
Mount Everest Pico da Neblina Hoverla
action union
action filter_type
action find
entity People's Republic of China
relation highest point
type terrain
action filter_type
action find
entity Brazil
relation highest point
type terrain
action filter_type
action find
entity Ukraine
relation highest point
type terrain
["People's Republic of China", 'highest point', {'concept': 'terrain'}] ['Brazil', 'highest point', {'concept': 'terrain'}] ['Ukraine', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?f WHERE { { resource:People's_Republic_of_China property:highest_point ?f . ?f rdf:type ontology:terrain } UNION { resource:Brazil property:highest_point ?f . ?f rdf:type ontology:terrain } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q513 Q739484 Q627508
P17
Q15617994
USER
Which administrative territories are Mount Everest, Pico da Neblina and Hoverla a part of ?
(Q513,P17,c(Q15617994)) (Q739484,P17,c(Q15617994)) (Q627508,P17,c(Q15617994))
action union
action filter_type
action find
entity Q513
relation P17
type Q15617994
action filter_type
action find
entity Q739484
relation P17
type Q15617994
action filter_type
action find
entity Q627508
relation P17
type Q15617994
['Q513', 'P17', {'concept': 'Q15617994'}] ['Q739484', 'P17', {'concept': 'Q15617994'}] ['Q627508', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { resource:Q513 property:P17 ?o . ?o rdf:type ontology:Q15617994 } UNION { resource:Q739484 property:P17 ?o . ?o rdf:type ontology:Q15617994 } }
Mount Everest Pico da Neblina Hoverla
action union
action filter_type
action find
entity Mount Everest
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Pico da Neblina
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Hoverla
relation country
type designation for an administrative territorial entity
['Mount Everest', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Pico da Neblina', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Hoverla', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:Mount_Everest property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Pico_da_Neblina property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q155 Q148 Q212
SYSTEM
Brazil, People's Republic of China, Ukraine
Q148 Q837 Q155 Q717 Q212
(Q513,P17,c(Q15617994)) (Q739484,P17,c(Q15617994)) (Q627508,P17,c(Q15617994))
action union
action filter_type
action find
entity Q513
relation P17
type Q15617994
action filter_type
action find
entity Q739484
relation P17
type Q15617994
action filter_type
action find
entity Q627508
relation P17
type Q15617994
Are Mount Everest , Pico da Neblina and Hoverla a part of the [ANSWERS]
['Q513', 'P17', {'concept': 'Q15617994'}] ['Q739484', 'P17', {'concept': 'Q15617994'}] ['Q627508', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { resource:Q513 property:P17 ?o . ?o rdf:type ontology:Q15617994 } UNION { resource:Q739484 property:P17 ?o . ?o rdf:type ontology:Q15617994 } }
People's Republic of China Nepal Brazil Venezuela Ukraine
Are Mount Everest , Pico da Neblina and Hoverla a part of the Brazil, People's Republic of China and Ukraine
Brazil People's Republic of China Ukraine
action union
action filter_type
action find
entity Mount Everest
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Pico da Neblina
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Hoverla
relation country
type designation for an administrative territorial entity
['Mount Everest', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Pico da Neblina', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Hoverla', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { resource:Mount_Everest property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Pico_da_Neblina property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q513
P921
Q838948
USER
Which work of art has that terrain as its main topic ?
(c(Q838948),P921,Q513)
action filter_type
action find_reverse
entity Q513
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q513']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . ?t property:P921 resource:Q513 }
Mount Everest
action filter_type
action find_reverse
entity Mount Everest
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Mount Everest']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . ?t property:main_subject resource:Mount_Everest }
[]
work of art
Clarification for simple ques.
Q513
SYSTEM
Did you mean Mount Everest ?
Q155 Q148 Q212
(c(Q838948),P921,Q155) (c(Q838948),P921,Q148) (c(Q838948),P921,Q212)
[ANSWER]
[{'concept': 'Q838948'}, 'P921', 'Q155'] [{'concept': 'Q838948'}, 'P921', 'Q148'] [{'concept': 'Q838948'}, 'P921', 'Q212']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . ?t property:P921 resource:Q513 }
Brazil People's Republic of China Ukraine
Did you mean Mount Everest ?
Mount Everest
[{'concept': 'work of art'}, 'main subject', 'Brazil'] [{'concept': 'work of art'}, 'main subject', "People's Republic of China"] [{'concept': 'work of art'}, 'main subject', 'Ukraine']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . ?t property:main_subject resource:Mount_Everest }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P921,Q513)
[{'concept': 'Q838948'}, 'P921', 'Q513']
[{'concept': 'work of art'}, 'main subject', 'Mount Everest']
[]
Q15109412
SYSTEM
Beyond the Edge
Q15109412
(c(Q838948),P921,Q513)
action filter_type
action find_reverse
entity Q513
relation P921
type Q838948
[ANSWER] has that terrain as its main topic
[{'concept': 'Q838948'}, 'P921', 'Q513']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . ?t property:P921 resource:Q513 }
Beyond the Edge
Beyond the Edge has that terrain as its main topic
Beyond the Edge
action filter_type
action find_reverse
entity Mount Everest
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Mount Everest']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . ?t property:main_subject resource:Mount_Everest }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P921
Q502895
USER
How many people were the main subjects of that work of art 's work ?
(Q15109412,P921,c(Q502895))
action count
action filter_type
action find
entity Q15109412
relation P921
type Q502895
['Q15109412', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:Q15109412 property:P921 ?n . ?n rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Beyond the Edge
relation main subject
type common name
['Beyond the Edge', 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:Beyond_the_Edge property:main_subject ?n . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q335995 Q80732 Q33817
(Q15109412,P921,c(Q502895))
action count
action filter_type
action find
entity Q15109412
relation P921
type Q502895
[ANSWER]
['Q15109412', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:Q15109412 property:P921 ?n . ?n rdf:type ontology:Q502895 }
John Hunt, Baron Hunt Tenzing Norgay Edmund Hillary
3
action count
action filter_type
action find
entity Beyond the Edge
relation main subject
type common name
['Beyond the Edge', 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { resource:Beyond_the_Edge property:main_subject ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q513
P361
Q107425
USER
What is Mount Everest a part of ?
(Q513,P361,c(Q107425))
action filter_type
action find
entity Q513
relation P361
type Q107425
['Q513', 'P361', {'concept': 'Q107425'}]
SELECT DISTINCT ?f WHERE { resource:Q513 property:P361 ?f . ?f rdf:type ontology:Q107425 }
Mount Everest
action filter_type
action find
entity Mount Everest
relation part of
type landscape
['Mount Everest', 'part of', {'concept': 'landscape'}]
SELECT DISTINCT ?f WHERE { resource:Mount_Everest property:part_of ?f . ?f rdf:type ontology:landscape }
[]
landscape
Q924257
SYSTEM
Mahalangur Himal
Q924257
(Q513,P361,c(Q107425))
action filter_type
action find
entity Q513
relation P361
type Q107425
Mount Everest a part of is the [ANSWER]
['Q513', 'P361', {'concept': 'Q107425'}]
SELECT DISTINCT ?f WHERE { resource:Q513 property:P361 ?f . ?f rdf:type ontology:Q107425 }
Mahalangur Himal
Mount Everest a part of is the Mahalangur Himal
Mahalangur Himal
action filter_type
action find
entity Mount Everest
relation part of
type landscape
['Mount Everest', 'part of', {'concept': 'landscape'}]
SELECT DISTINCT ?f WHERE { resource:Mount_Everest property:part_of ?f . ?f rdf:type ontology:landscape }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10466605
Q107425
USER
And what about Danmarks holme?
(Q10466605,P361,c(Q107425))
action filter_type
action find
entity Q10466605
relation P361
type Q107425
['Q10466605', 'P361', {'concept': 'Q107425'}]
SELECT DISTINCT ?e WHERE { resource:Q10466605 property:P361 ?e . ?e rdf:type ontology:Q107425 }
Danmarks holme
action filter_type
action find
entity Danmarks holme
relation part of
type landscape
['Danmarks holme', 'part of', {'concept': 'landscape'}]
SELECT DISTINCT ?e WHERE { resource:Danmarks_holme property:part_of ?e . ?e rdf:type ontology:landscape }
[]
landscape
Q764547
SYSTEM
Stockholm archipelago
Q764547
(Q10466605,P361,c(Q107425))
action filter_type
action find
entity Q10466605
relation P361
type Q107425
[ANSWER]
['Q10466605', 'P361', {'concept': 'Q107425'}]
SELECT DISTINCT ?e WHERE { resource:Q10466605 property:P361 ?e . ?e rdf:type ontology:Q107425 }
Stockholm archipelago
Stockholm archipelago
action filter_type
action find
entity Danmarks holme
relation part of
type landscape
['Danmarks holme', 'part of', {'concept': 'landscape'}]
SELECT DISTINCT ?e WHERE { resource:Danmarks_holme property:part_of ?e . ?e rdf:type ontology:landscape }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q107425 Q44539
USER
How many temples are located in exactly 1 landscape ?
(c(Q44539),P706,c(Q107425))
action count
action equal
action find_tuple_counts
relation P706
type Q44539
type Q107425
value 1
[{'concept': 'Q44539'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { FILTER ( ?t = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?t ) WHERE { ?n property:P706 ?f . ?n rdf:type ontology:Q44539 . ?f rdf:type ontology:Q107425 } GROUP BY ?n } }
action count
action equal
action find_tuple_counts
relation located on terrain feature
type temple
type landscape
value 1
[{'concept': 'temple'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { FILTER ( ?t = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?t ) WHERE { ?n property:located_on_terrain_feature ?f . ?n rdf:type ontology:temple . ?f rdf:type ontology:landscape } GROUP BY ?n } }
[]
landscape temple
SYSTEM
2
Q2322732 Q18690302
(c(Q44539),P706,c(Q107425))
action count
action equal
action find_tuple_counts
relation P706
type Q44539
type Q107425
value 1
[ANSWER]
[{'concept': 'Q44539'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { FILTER ( ?t = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?t ) WHERE { ?n property:P706 ?f . ?n rdf:type ontology:Q44539 . ?f rdf:type ontology:Q107425 } GROUP BY ?n } }
St. Peter and Paul Church Holy Cathedral of the Dormition of the Virgin
2
action count
action equal
action find_tuple_counts
relation located on terrain feature
type temple
type landscape
value 1
[{'concept': 'temple'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { FILTER ( ?t = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?t ) WHERE { ?n property:located_on_terrain_feature ?f . ?n rdf:type ontology:temple . ?f rdf:type ontology:landscape } GROUP BY ?n } }
[]