Simple Question (Direct)
Simple Question
Q4765976
P915
Q15617994
USER
Which city was Ankara Express filmed on ?
(Q4765976,P915,c(Q15617994))
action filter_type
action find
entity Q4765976
relation P915
type Q15617994
['Q4765976', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q4765976 property:P915 ?v . ?v rdf:type ontology:Q15617994 }
Ankara Express
action filter_type
action find
entity Ankara Express
relation filming location
type designation for an administrative territorial entity
['Ankara Express', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Ankara_Express property:filming_location ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43
SYSTEM
Turkey
Q43
(Q4765976,P915,c(Q15617994))
action filter_type
action find
entity Q4765976
relation P915
type Q15617994
Ankara Express was filmed in [ANSWER]
['Q4765976', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q4765976 property:P915 ?v . ?v rdf:type ontology:Q15617994 }
Turkey
Ankara Express was filmed in Turkey
Turkey
action filter_type
action find
entity Ankara Express
relation filming location
type designation for an administrative territorial entity
['Ankara Express', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Ankara_Express property:filming_location ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43
P30
Q2221906
USER
Which geographic locations are that administrative territory located in ?
(Q43,P30,c(Q2221906))
action filter_type
action find
entity Q43
relation P30
type Q2221906
['Q43', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { resource:Q43 property:P30 ?n . ?n rdf:type ontology:Q2221906 }
Turkey
action filter_type
action find
entity Turkey
relation continent
type geographic location
['Turkey', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { resource:Turkey property:continent ?n . ?n rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q48
SYSTEM
Europe, Asia
Q46 Q48
(Q43,P30,c(Q2221906))
action filter_type
action find
entity Q43
relation P30
type Q2221906
That administrative territory are located in [ANSWERS]
['Q43', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { resource:Q43 property:P30 ?n . ?n rdf:type ontology:Q2221906 }
Europe Asia
That administrative territory are located in Europe and Asia
Europe Asia
action filter_type
action find
entity Turkey
relation continent
type geographic location
['Turkey', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { resource:Turkey property:continent ?n . ?n rdf:type ontology:geographic_location }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q667529
P361
Q2221906 Q2668072 Q838948
USER
How many geographic locations are greater number of collections and works of art a part of than Blue Mountains ?
(c(Q2668072)|c(Q838948),P361,c(Q2221906))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q2668072
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q667529
relation P361
type Q2668072
type Q838948
[[{'concept': 'Q2668072'}, {'concept': 'Q838948'}], 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?q ) WHERE { VALUES ( ?u ) { ( ontology:Q2668072 ) ( ontology:Q838948 ) } . ?x rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { { ?j rdf:type ontology:Q2668072 } UNION { ?j rdf:type ontology:Q838948 } } . ?j property:P361 resource:Q667529 } } . FILTER ( ?q > ?y ) }
Blue Mountains
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type geographic location
type collection
action find_reverse_tuple_counts
relation part of
type geographic location
type work of art
action count
action filter_multi_types
action find_reverse
entity Blue Mountains
relation part of
type collection
type work of art
[[{'concept': 'collection'}, {'concept': 'work of art'}], 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?q ) WHERE { VALUES ( ?u ) { ( ontology:collection ) ( ontology:work_of_art ) } . ?x rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { { ?j rdf:type ontology:collection } UNION { ?j rdf:type ontology:work_of_art } } . ?j property:part_of resource:Blue_Mountains } } . FILTER ( ?q > ?y ) }
[]
geographic location collection work of art
SYSTEM
3
Q15262083 Q294440 Q7971575
(c(Q2668072)|c(Q838948),P361,c(Q2221906))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q2668072
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q667529
relation P361
type Q2668072
type Q838948
[ANSWER]
[[{'concept': 'Q2668072'}, {'concept': 'Q838948'}], 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?q ) WHERE { VALUES ( ?u ) { ( ontology:Q2668072 ) ( ontology:Q838948 ) } . ?x rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { { ?j rdf:type ontology:Q2668072 } UNION { ?j rdf:type ontology:Q838948 } } . ?j property:P361 resource:Q667529 } } . FILTER ( ?q > ?y ) }
New Museums Site public space Washington's Crossing
3
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type geographic location
type collection
action find_reverse_tuple_counts
relation part of
type geographic location
type work of art
action count
action filter_multi_types
action find_reverse
entity Blue Mountains
relation part of
type collection
type work of art
[[{'concept': 'collection'}, {'concept': 'work of art'}], 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?q ) WHERE { VALUES ( ?u ) { ( ontology:collection ) ( ontology:work_of_art ) } . ?x rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { { ?j rdf:type ontology:collection } UNION { ?j rdf:type ontology:work_of_art } } . ?j property:part_of resource:Blue_Mountains } } . FILTER ( ?q > ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q7699945
P361
Q2221906 Q2668072 Q838948
USER
And also tell me about Tenmile Range?
(c(Q2668072)|c(Q838948),P361,c(Q2221906))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q2668072
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q7699945
relation P361
type Q2668072
type Q838948
[[{'concept': 'Q2668072'}, {'concept': 'Q838948'}], 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?m ) WHERE { { ?f property:P361 ?r . ?r rdf:type ontology:Q2221906 . ?f rdf:type ontology:Q2668072 } UNION { ?f property:P361 ?r . ?r rdf:type ontology:Q2221906 . ?f rdf:type ontology:Q838948 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:P361 resource:Q7699945 . { { ?i rdf:type ontology:Q2668072 } UNION { ?i rdf:type ontology:Q838948 } } } } . FILTER ( ?m > ?c ) }
Tenmile Range
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type geographic location
type collection
action find_reverse_tuple_counts
relation part of
type geographic location
type work of art
action count
action filter_multi_types
action find_reverse
entity Tenmile Range
relation part of
type collection
type work of art
[[{'concept': 'collection'}, {'concept': 'work of art'}], 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?m ) WHERE { { ?f property:part_of ?r . ?r rdf:type ontology:geographic_location . ?f rdf:type ontology:collection } UNION { ?f property:part_of ?r . ?r rdf:type ontology:geographic_location . ?f rdf:type ontology:work_of_art } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:part_of resource:Tenmile_Range . { { ?i rdf:type ontology:collection } UNION { ?i rdf:type ontology:work_of_art } } } } . FILTER ( ?m > ?c ) }
[]
geographic location collection work of art
SYSTEM
3
Q15262083 Q294440 Q7971575
(c(Q2668072)|c(Q838948),P361,c(Q2221906))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q2668072
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q7699945
relation P361
type Q2668072
type Q838948
[ANSWER]
[[{'concept': 'Q2668072'}, {'concept': 'Q838948'}], 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?m ) WHERE { { ?f property:P361 ?r . ?r rdf:type ontology:Q2221906 . ?f rdf:type ontology:Q2668072 } UNION { ?f property:P361 ?r . ?r rdf:type ontology:Q2221906 . ?f rdf:type ontology:Q838948 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:P361 resource:Q7699945 . { { ?i rdf:type ontology:Q2668072 } UNION { ?i rdf:type ontology:Q838948 } } } } . FILTER ( ?m > ?c ) }
New Museums Site public space Washington's Crossing
3
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type geographic location
type collection
action find_reverse_tuple_counts
relation part of
type geographic location
type work of art
action count
action filter_multi_types
action find_reverse
entity Tenmile Range
relation part of
type collection
type work of art
[[{'concept': 'collection'}, {'concept': 'work of art'}], 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?m ) WHERE { { ?f property:part_of ?r . ?r rdf:type ontology:geographic_location . ?f rdf:type ontology:collection } UNION { ?f property:part_of ?r . ?r rdf:type ontology:geographic_location . ?f rdf:type ontology:work_of_art } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:part_of resource:Tenmile_Range . { { ?i rdf:type ontology:collection } UNION { ?i rdf:type ontology:work_of_art } } } } . FILTER ( ?m > ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q46
P138
Q15619164
USER
What is Europe named after ?
(Q46,P138,c(Q15619164))
action filter_type
action find
entity Q46
relation P138
type Q15619164
['Q46', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ?l WHERE { resource:Q46 property:P138 ?l . ?l rdf:type ontology:Q15619164 }
Europe
action filter_type
action find
entity Europe
relation named after
type abstract being
['Europe', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ?l WHERE { resource:Europe property:named_after ?l . ?l rdf:type ontology:abstract_being }
[]
abstract being
Q165170
SYSTEM
Europa
Q165170
(Q46,P138,c(Q15619164))
action filter_type
action find
entity Q46
relation P138
type Q15619164
Europe is named for [ANSWER]
['Q46', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ?l WHERE { resource:Q46 property:P138 ?l . ?l rdf:type ontology:Q15619164 }
Europa
Europe is named for Europa
Europa
action filter_type
action find
entity Europe
relation named after
type abstract being
['Europe', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ?l WHERE { resource:Europe property:named_after ?l . ?l rdf:type ontology:abstract_being }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q19520525 Q46
P138
Q15619164
USER
Or Lucifer?
OR((Q46,P138,c(Q15619164)), (Q19520525,P138,c(Q15619164)))
action filter_type
action union
action find
entity Q46
relation P138
action find
entity Q19520525
relation P138
type Q15619164
{'OR': [['Q46', 'P138', {'concept': 'Q15619164'}], ['Q19520525', 'P138', {'concept': 'Q15619164'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q46 property:P138 ?u } UNION { resource:Q19520525 property:P138 ?u } } . ?u rdf:type ontology:Q15619164 }
Lucifer Europe
action filter_type
action union
action find
entity Europe
relation named after
action find
entity Lucifer
relation named after
type abstract being
{'OR': [['Europe', 'named after', {'concept': 'abstract being'}], ['Lucifer', 'named after', {'concept': 'abstract being'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Europe property:named_after ?u } UNION { resource:Lucifer property:named_after ?u } } . ?u rdf:type ontology:abstract_being }
[]
abstract being
Q165170 Q185498 Q1775444
SYSTEM
Europa, Lucifer, Phosphorus
Q165170 Q185498 Q1775444
OR((Q46,P138,c(Q15619164)), (Q19520525,P138,c(Q15619164)))
action filter_type
action union
action find
entity Q46
relation P138
action find
entity Q19520525
relation P138
type Q15619164
[ANSWERS]
{'OR': [['Q46', 'P138', {'concept': 'Q15619164'}], ['Q19520525', 'P138', {'concept': 'Q15619164'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q46 property:P138 ?u } UNION { resource:Q19520525 property:P138 ?u } } . ?u rdf:type ontology:Q15619164 }
Europa Lucifer Phosphorus
Europa Lucifer Phosphorus
action filter_type
action union
action find
entity Europe
relation named after
action find
entity Lucifer
relation named after
type abstract being
{'OR': [['Europe', 'named after', {'concept': 'abstract being'}], ['Lucifer', 'named after', {'concept': 'abstract being'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Europe property:named_after ?u } UNION { resource:Lucifer property:named_after ?u } } . ?u rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19520525
P136
Q483394
USER
What can be considered as category for that television program ?
(Q165170,P136,c(Q483394)) (Q185498,P136,c(Q483394)) (Q1775444,P136,c(Q483394))
action filter_type
action find
entity Q19520525
relation P136
type Q483394
['Q165170', 'P136', {'concept': 'Q483394'}] ['Q185498', 'P136', {'concept': 'Q483394'}] ['Q1775444', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?p WHERE { resource:Q19520525 property:P136 ?p . ?p rdf:type ontology:Q483394 }
Lucifer
action filter_type
action find
entity Lucifer
relation genre
type genre
['Europa', 'genre', {'concept': 'genre'}] ['Lucifer', 'genre', {'concept': 'genre'}] ['Phosphorus', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?p WHERE { resource:Lucifer property:genre ?p . ?p rdf:type ontology:genre }
[]
genre
Q16575965 Q859369 Q19842222
SYSTEM
horror fiction, comedy-drama, crime fiction
Q16575965 Q859369 Q19842222
(Q165170,P136,c(Q483394)) (Q185498,P136,c(Q483394)) (Q1775444,P136,c(Q483394))
action filter_type
action find
entity Q19520525
relation P136
type Q483394
[ANSWERS] can be considered as category for that television program
['Q165170', 'P136', {'concept': 'Q483394'}] ['Q185498', 'P136', {'concept': 'Q483394'}] ['Q1775444', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?p WHERE { resource:Q19520525 property:P136 ?p . ?p rdf:type ontology:Q483394 }
horror fiction comedy-drama crime fiction
Horror fiction, comedy-drama and crime fiction can be considered as category for that television program
horror fiction comedy-drama crime fiction
action filter_type
action find
entity Lucifer
relation genre
type genre
['Europa', 'genre', {'concept': 'genre'}] ['Lucifer', 'genre', {'concept': 'genre'}] ['Phosphorus', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?p WHERE { resource:Lucifer property:genre ?p . ?p rdf:type ontology:genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19520525
P1431
Q502895
USER
Who is the executive producer of that television program ?
(Q16575965,P1431,c(Q502895)) (Q859369,P1431,c(Q502895)) (Q19842222,P1431,c(Q502895))
action filter_type
action find
entity Q19520525
relation P1431
type Q502895
['Q16575965', 'P1431', {'concept': 'Q502895'}] ['Q859369', 'P1431', {'concept': 'Q502895'}] ['Q19842222', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q19520525 property:P1431 ?f . ?f rdf:type ontology:Q502895 }
Lucifer
action filter_type
action find
entity Lucifer
relation executive producer
type common name
['horror fiction', 'executive producer', {'concept': 'common name'}] ['comedy-drama', 'executive producer', {'concept': 'common name'}] ['crime fiction', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Lucifer property:executive_producer ?f . ?f rdf:type ontology:common_name }
[]
common name
Q217037
SYSTEM
Jerry Bruckheimer
Q217037
(Q16575965,P1431,c(Q502895)) (Q859369,P1431,c(Q502895)) (Q19842222,P1431,c(Q502895))
action filter_type
action find
entity Q19520525
relation P1431
type Q502895
The executive producer of that television program is also [ANSWER]
['Q16575965', 'P1431', {'concept': 'Q502895'}] ['Q859369', 'P1431', {'concept': 'Q502895'}] ['Q19842222', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q19520525 property:P1431 ?f . ?f rdf:type ontology:Q502895 }
Jerry Bruckheimer
The executive producer of that television program is also Jerry Bruckheimer
Jerry Bruckheimer
action filter_type
action find
entity Lucifer
relation executive producer
type common name
['horror fiction', 'executive producer', {'concept': 'common name'}] ['comedy-drama', 'executive producer', {'concept': 'common name'}] ['crime fiction', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Lucifer property:executive_producer ?f . ?f rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P162
Q838948
USER
How many works of art have been produced by that person ?
(c(Q838948),P162,Q217037)
action count
action filter_type
action find_reverse
entity Q217037
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q217037']
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:P162 resource:Q217037 . ?q rdf:type ontology:Q838948 }
action count
action filter_type
action find_reverse
entity Jerry Bruckheimer
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Jerry Bruckheimer']
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:producer resource:Jerry_Bruckheimer . ?q rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
48
Q607910 Q14370012 Q722267 Q477865 Q221384 Q683734 Q784444 Q388360 Q337090 Q1193098 Q611043 Q1354617 Q1140085 Q7282550 Q2618864 Q245172 Q539269 Q208344 Q579359 Q502384 Q1426423 Q161087 Q692720 Q252409 Q177930 Q1279412 Q603696 Q117696 Q1392256 Q54274 Q525860 Q10350033 Q1360651 Q852963 Q309366 Q7783978 Q910695 Q194413 Q460379 Q798673 Q110138 Q1146246 Q12110972 Q1216017 Q183555 Q216720 Q46717 Q548919
(c(Q838948),P162,Q217037)
action count
action filter_type
action find_reverse
entity Q217037
relation P162
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P162', 'Q217037']
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:P162 resource:Q217037 . ?q rdf:type ontology:Q838948 }
Con Air Beware the Night Beverly Hills Cop The Sorcerer's Apprentice Black Hawk Down Coyote Ugly G-Force National Treasure: Book of Secrets King Arthur Thief Flashdance Kangaroo Jack Crimson Tide Rafferty and the Gold Dust Twins Young Doctors in Love Prince of Persia: The Sands of Time Bad Boys II Armageddon Dangerous Minds Gone in 60 Seconds Cat People Pirates of the Caribbean: Dead Man's Chest American Gigolo Déjà Vu Enemy of the State Glory Road Days of Thunder Remember the Titans Farewell, My Lovely Pirates of the Caribbean: At World's End Beverly Hills Cop II Pirates of the Caribbean: Dead Men Tell No Tales The Ref Confessions of a Shopaholic National Treasure Thief of Hearts March or Die Pearl Harbor Bad Boys Bad Company Top Gun Veronica Guerin The Culpepper Cattle Co. Defiance Pirates of the Caribbean: On Stranger Tides The Rock Pirates of the Caribbean: The Curse of the Black Pearl The Lone Ranger
48
action count
action filter_type
action find_reverse
entity Jerry Bruckheimer
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Jerry Bruckheimer']
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:producer resource:Jerry_Bruckheimer . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q46
P706
Q82794
USER
Which geographic region is Europe located on ?
(Q46,P706,c(Q82794))
action filter_type
action find
entity Q46
relation P706
type Q82794
['Q46', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?p WHERE { resource:Q46 property:P706 ?p . ?p rdf:type ontology:Q82794 }
Europe
action filter_type
action find
entity Europe
relation located on terrain feature
type geographic region
['Europe', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?p WHERE { resource:Europe property:located_on_terrain_feature ?p . ?p rdf:type ontology:geographic_region }
[]
geographic region
Q39061
SYSTEM
Northern Hemisphere
Q39061
(Q46,P706,c(Q82794))
action filter_type
action find
entity Q46
relation P706
type Q82794
Europe is located in [ANSWER]
['Q46', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?p WHERE { resource:Q46 property:P706 ?p . ?p rdf:type ontology:Q82794 }
Northern Hemisphere
Europe is located in Northern Hemisphere
Northern Hemisphere
action filter_type
action find
entity Europe
relation located on terrain feature
type geographic region
['Europe', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?p WHERE { resource:Europe property:located_on_terrain_feature ?p . ?p rdf:type ontology:geographic_region }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16550352
Q82794
USER
And what about Groblica?
(Q16550352,P706,c(Q82794))
action filter_type
action find
entity Q16550352
relation P706
type Q82794
['Q16550352', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?g WHERE { resource:Q16550352 property:P706 ?g . ?g rdf:type ontology:Q82794 }
Groblica
action filter_type
action find
entity Groblica
relation located on terrain feature
type geographic region
['Groblica', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?g WHERE { resource:Groblica property:located_on_terrain_feature ?g . ?g rdf:type ontology:geographic_region }
[]
geographic region
Q22667180
SYSTEM
Drwęca Basin
Q22667180
(Q16550352,P706,c(Q82794))
action filter_type
action find
entity Q16550352
relation P706
type Q82794
[ANSWER]
['Q16550352', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?g WHERE { resource:Q16550352 property:P706 ?g . ?g rdf:type ontology:Q82794 }
Drwęca Basin
Drwęca Basin
action filter_type
action find
entity Groblica
relation located on terrain feature
type geographic region
['Groblica', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?g WHERE { resource:Groblica property:located_on_terrain_feature ?g . ?g rdf:type ontology:geographic_region }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q22667180 Q2580092 Q553854
P17
Q15617994
USER
Is that geographic region present in Netherton, Worcestershire and Bergrheinfeld ?
(Q22667180,P17,Q2580092) (Q22667180,P17,Q553854)
action is_in
entity Q22667180
action intersection
action find_reverse
entity Q2580092
relation P17
action find_reverse
entity Q553854
relation P17
['Q22667180', 'P17', 'Q2580092'] ['Q22667180', 'P17', 'Q553854']
ASK WHERE { resource:Q22667180 property:P17 resource:Q2580092 . resource:Q22667180 property:P17 resource:Q553854 }
Drwęca Basin Netherton, Worcestershire Bergrheinfeld
action is_in
entity Drwęca Basin
action intersection
action find_reverse
entity Netherton, Worcestershire
relation country
action find_reverse
entity Bergrheinfeld
relation country
['Drwęca Basin', 'country', 'Netherton, Worcestershire'] ['Drwęca Basin', 'country', 'Bergrheinfeld']
ASK WHERE { resource:Drwęca_Basin property:country resource:Netherton,_Worcestershire . resource:Drwęca_Basin property:country resource:Bergrheinfeld }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q22667180,P17,Q2580092) (Q22667180,P17,Q553854)
action is_in
entity Q22667180
action intersection
action find_reverse
entity Q2580092
relation P17
action find_reverse
entity Q553854
relation P17
[ANSWER]
['Q22667180', 'P17', 'Q2580092'] ['Q22667180', 'P17', 'Q553854']
ASK WHERE { resource:Q22667180 property:P17 resource:Q2580092 . resource:Q22667180 property:P17 resource:Q553854 }
No
action is_in
entity Drwęca Basin
action intersection
action find_reverse
entity Netherton, Worcestershire
relation country
action find_reverse
entity Bergrheinfeld
relation country
['Drwęca Basin', 'country', 'Netherton, Worcestershire'] ['Drwęca Basin', 'country', 'Bergrheinfeld']
ASK WHERE { resource:Drwęca_Basin property:country resource:Netherton,_Worcestershire . resource:Drwęca_Basin property:country resource:Bergrheinfeld }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q82794 Q107425
USER
How many landscapes are located in exactly 1 geographic region ?
(c(Q107425),P706,c(Q82794))
action count
action equal
action find_tuple_counts
relation P706
type Q107425
type Q82794
value 1
[{'concept': 'Q107425'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?v ) WHERE { ?a property:P706 ?r . ?a rdf:type ontology:Q107425 . ?r rdf:type ontology:Q82794 } GROUP BY ?a } . FILTER ( ?v = 1 ) }
action count
action equal
action find_tuple_counts
relation located on terrain feature
type landscape
type geographic region
value 1
[{'concept': 'landscape'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?v ) WHERE { ?a property:located_on_terrain_feature ?r . ?a rdf:type ontology:landscape . ?r rdf:type ontology:geographic_region } GROUP BY ?a } . FILTER ( ?v = 1 ) }
[]
geographic region landscape
SYSTEM
3
Q6420219 Q11767 Q618528
(c(Q107425),P706,c(Q82794))
action count
action equal
action find_tuple_counts
relation P706
type Q107425
type Q82794
value 1
[ANSWER]
[{'concept': 'Q107425'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?v ) WHERE { ?a property:P706 ?r . ?a rdf:type ontology:Q107425 . ?r rdf:type ontology:Q82794 } GROUP BY ?a } . FILTER ( ?v = 1 ) }
Kleine Feldhofer Grotte Mesopotamia Aphrodite Terra
3
action count
action equal
action find_tuple_counts
relation located on terrain feature
type landscape
type geographic region
value 1
[{'concept': 'landscape'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?v ) WHERE { ?a property:located_on_terrain_feature ?r . ?a rdf:type ontology:landscape . ?r rdf:type ontology:geographic_region } GROUP BY ?a } . FILTER ( ?v = 1 ) }
[]