Simple Question (Direct)
Simple Question
Q1357782
P47
Q20667921
USER
Who share the border with Charrais ?
(Q1357782,P47,c(Q20667921))
action filter_type
action find
entity Q1357782
relation P47
type Q20667921
['Q1357782', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q1357782 property:P47 ?s . ?s rdf:type ontology:Q20667921 }
Charrais
action filter_type
action find
entity Charrais
relation shares border with
type type of french administrative division
['Charrais', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Charrais property:shares_border_with ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1352564 Q733770 Q781647
SYSTEM
Blaslay, Neuville-de-Poitou, Champigny-le-Sec
Q781647 Q507270 Q1409848 Q1352564 Q733770 Q1614523
(Q1357782,P47,c(Q20667921))
action filter_type
action find
entity Q1357782
relation P47
type Q20667921
[ANSWERS] share the border with Charrais
['Q1357782', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q1357782 property:P47 ?s . ?s rdf:type ontology:Q20667921 }
Champigny-le-Sec Yversay Le Rochereau Blaslay Neuville-de-Poitou Villiers
Blaslay, Neuville-de-Poitou and Champigny-le-Sec share the border with Charrais
Blaslay Neuville-de-Poitou Champigny-le-Sec
action filter_type
action find
entity Charrais
relation shares border with
type type of french administrative division
['Charrais', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Charrais property:shares_border_with ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1352564 Q733770 Q781647
P47
Q20667921
USER
Which french administrative divisions share border with those ones ?
(c(Q20667921),P47,Q1352564) (c(Q20667921),P47,Q733770) (c(Q20667921),P47,Q781647)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q1352564'] [{'concept': 'Q20667921'}, 'P47', 'Q733770'] [{'concept': 'Q20667921'}, 'P47', 'Q781647']
SELECT DISTINCT ?p WHERE { ?x property:P47 ?p . ?p rdf:type ontology:Q20667921 . VALUES ( ?x ) { ( resource:Q781647 ) ( resource:Q507270 ) ( resource:Q1409848 ) } }
Blaslay Neuville-de-Poitou Champigny-le-Sec
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Blaslay'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Neuville-de-Poitou'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Champigny-le-Sec']
SELECT DISTINCT ?p WHERE { ?x property:shares_border_with ?p . ?p rdf:type ontology:type_of_french_administrative_division . VALUES ( ?x ) { ( resource:Champigny-le-Sec ) ( resource:Yversay ) ( resource:Le_Rochereau ) } }
[]
type of french administrative division
Q376256 Q733770 Q1352564
SYSTEM
Thurageau, Neuville-de-Poitou, Blaslay
Q731883 Q733770 Q457313 Q376256 Q1612020 Q752764 Q781647 Q1357782 Q507270 Q731883 Q1352564 Q1357782 Q1359995 Q739394 Q1357594 Q1409848 Q457313 Q1352564 Q1613909 Q1357782 Q1356361
(c(Q20667921),P47,Q1352564) (c(Q20667921),P47,Q733770) (c(Q20667921),P47,Q781647)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS] share border with those ones
[{'concept': 'Q20667921'}, 'P47', 'Q1352564'] [{'concept': 'Q20667921'}, 'P47', 'Q733770'] [{'concept': 'Q20667921'}, 'P47', 'Q781647']
SELECT DISTINCT ?p WHERE { ?x property:P47 ?p . ?p rdf:type ontology:Q20667921 . VALUES ( ?x ) { ( resource:Q781647 ) ( resource:Q507270 ) ( resource:Q1409848 ) } }
Chabournay Neuville-de-Poitou Amberre Thurageau Varennes Cheneché Champigny-le-Sec Charrais Yversay Chabournay Blaslay Charrais Cissé Vendeuvre-du-Poitou Avanton Le Rochereau Amberre Blaslay Vouzailles Charrais Cuhon
Thurageau, Neuville-de-Poitou and Blaslay share border with those ones
Thurageau Neuville-de-Poitou Blaslay
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Blaslay'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Neuville-de-Poitou'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Champigny-le-Sec']
SELECT DISTINCT ?p WHERE { ?x property:shares_border_with ?p . ?p rdf:type ontology:type_of_french_administrative_division . VALUES ( ?x ) { ( resource:Champigny-le-Sec ) ( resource:Yversay ) ( resource:Le_Rochereau ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1352564
P17
Q15617994
USER
Which administrative territory is that french administrative division located in ?
(Q1352564,P17,c(Q15617994))
action filter_type
action find
entity Q1352564
relation P17
type Q15617994
['Q1352564', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1352564 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Blaslay
action filter_type
action find
entity Blaslay
relation country
type designation for an administrative territorial entity
['Blaslay', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Blaslay property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q733770
SYSTEM
Did you mean Neuville-de-Poitou ?
Q376256 Q733770 Q1352564
(Q376256,P17,c(Q15617994)) (Q733770,P17,c(Q15617994)) (Q1352564,P17,c(Q15617994))
[ANSWER]
['Q376256', 'P17', {'concept': 'Q15617994'}] ['Q733770', 'P17', {'concept': 'Q15617994'}] ['Q1352564', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1352564 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Thurageau Neuville-de-Poitou Blaslay
Did you mean Neuville-de-Poitou ?
Neuville-de-Poitou
['Thurageau', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Neuville-de-Poitou', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Blaslay', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Blaslay property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Blaslay. Could you tell me the answer for that?
(Q1352564,P17,c(Q15617994))
Q1352564
['Q1352564', 'P17', {'concept': 'Q15617994'}]
['Blaslay', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q1352564,P17,c(Q15617994))
action filter_type
action find
entity Q1352564
relation P17
type Q15617994
That french administrative division is located in [ANSWER]
['Q1352564', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1352564 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
France
That french administrative division is located in France
France
action filter_type
action find
entity Blaslay
relation country
type designation for an administrative territorial entity
['Blaslay', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Blaslay property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P840
Q7397
USER
Which software has its narrative set in that administrative territory ?
(c(Q7397),P840,Q142)
action filter_type
action find_reverse
entity Q142
relation P840
type Q7397
[{'concept': 'Q7397'}, 'P840', 'Q142']
SELECT DISTINCT ?a WHERE { ?a property:P840 resource:Q142 . ?a rdf:type ontology:Q7397 }
France
action filter_type
action find_reverse
entity France
relation narrative location
type software
[{'concept': 'software'}, 'narrative location', 'France']
SELECT DISTINCT ?a WHERE { ?a property:narrative_location resource:France . ?a rdf:type ontology:software }
[]
software
Q2891828
SYSTEM
Battlefield 1942: Secret Weapons of WWII
Q2891828
(c(Q7397),P840,Q142)
action filter_type
action find_reverse
entity Q142
relation P840
type Q7397
[ANSWER] has its narrative set in that administrative territory
[{'concept': 'Q7397'}, 'P840', 'Q142']
SELECT DISTINCT ?a WHERE { ?a property:P840 resource:Q142 . ?a rdf:type ontology:Q7397 }
Battlefield 1942: Secret Weapons of WWII
Battlefield 1942: Secret Weapons of WWII has its narrative set in that administrative territory
Battlefield 1942: Secret Weapons of WWII
action filter_type
action find_reverse
entity France
relation narrative location
type software
[{'concept': 'software'}, 'narrative location', 'France']
SELECT DISTINCT ?a WHERE { ?a property:narrative_location resource:France . ?a rdf:type ontology:software }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q59
P277
Q9143 Q7397
USER
How many programming languages are used to code less number of software than PHP ?
(c(Q7397),P277,c(Q9143))
action count
action less
action find_reverse_tuple_counts
relation P277
type Q9143
type Q7397
action count
action filter_type
action find_reverse
entity Q59
relation P277
type Q7397
[{'concept': 'Q7397'}, 'P277', {'concept': 'Q9143'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P277 ?k . ?h rdf:type ontology:Q7397 . ?k rdf:type ontology:Q9143 } GROUP BY ?k } . FILTER ( ?t < ?v ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ontology:Q7397 . ?o property:P277 resource:Q59 } } }
PHP
action count
action less
action find_reverse_tuple_counts
relation programming language
type programming language
type software
action count
action filter_type
action find_reverse
entity PHP
relation programming language
type software
[{'concept': 'software'}, 'programming language', {'concept': 'programming language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:programming_language ?k . ?h rdf:type ontology:software . ?k rdf:type ontology:programming_language } GROUP BY ?k } . FILTER ( ?t < ?v ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ontology:software . ?o property:programming_language resource:PHP } } }
[]
programming language software
SYSTEM
13
Q27826460 Q27826457 Q25277828 Q2005 Q13743 Q28865 Q27826458 Q1572341 Q5288 Q11707176 Q154755 Q46441 Q207316
(c(Q7397),P277,c(Q9143))
action count
action less
action find_reverse_tuple_counts
relation P277
type Q9143
type Q7397
action count
action filter_type
action find_reverse
entity Q59
relation P277
type Q7397
[ANSWER]
[{'concept': 'Q7397'}, 'P277', {'concept': 'Q9143'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P277 ?k . ?h rdf:type ontology:Q7397 . ?k rdf:type ontology:Q9143 } GROUP BY ?k } . FILTER ( ?t < ?v ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ontology:Q7397 . ?o property:P277 resource:Q59 } } }
Cascading Style Sheets Level 1 Cascading Style Sheets Level 2 Revision 1 Viola JavaScript Visual Basic Script Python Cascading Style Sheets Level 2 Pike Tool Command Language Cascading Style Sheets Level 3 Ada Cascading Style Sheets Lua
13
action count
action less
action find_reverse_tuple_counts
relation programming language
type programming language
type software
action count
action filter_type
action find_reverse
entity PHP
relation programming language
type software
[{'concept': 'software'}, 'programming language', {'concept': 'programming language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:programming_language ?k . ?h rdf:type ontology:software . ?k rdf:type ontology:programming_language } GROUP BY ?k } . FILTER ( ?t < ?v ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o rdf:type ontology:software . ?o property:programming_language resource:PHP } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2005
P277
Q9143 Q7397
USER
And how about JavaScript?
(c(Q7397),P277,c(Q9143))
action count
action less
action find_reverse_tuple_counts
relation P277
type Q9143
type Q7397
action count
action filter_type
action find_reverse
entity Q2005
relation P277
type Q7397
[{'concept': 'Q7397'}, 'P277', {'concept': 'Q9143'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:P277 ?o . ?o rdf:type ontology:Q9143 . ?n rdf:type ontology:Q7397 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ontology:Q7397 . ?z property:P277 resource:Q2005 } } . FILTER ( ?d < ?p ) }
JavaScript
action count
action less
action find_reverse_tuple_counts
relation programming language
type programming language
type software
action count
action filter_type
action find_reverse
entity JavaScript
relation programming language
type software
[{'concept': 'software'}, 'programming language', {'concept': 'programming language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:programming_language ?o . ?o rdf:type ontology:programming_language . ?n rdf:type ontology:software } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ontology:software . ?z property:programming_language resource:JavaScript } } . FILTER ( ?d < ?p ) }
[]
programming language software
SYSTEM
11
Q27826460 Q27826457 Q25277828 Q13743 Q27826458 Q1572341 Q5288 Q11707176 Q154755 Q46441 Q207316
(c(Q7397),P277,c(Q9143))
action count
action less
action find_reverse_tuple_counts
relation P277
type Q9143
type Q7397
action count
action filter_type
action find_reverse
entity Q2005
relation P277
type Q7397
[ANSWER]
[{'concept': 'Q7397'}, 'P277', {'concept': 'Q9143'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:P277 ?o . ?o rdf:type ontology:Q9143 . ?n rdf:type ontology:Q7397 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ontology:Q7397 . ?z property:P277 resource:Q2005 } } . FILTER ( ?d < ?p ) }
Cascading Style Sheets Level 1 Cascading Style Sheets Level 2 Revision 1 Viola Visual Basic Script Cascading Style Sheets Level 2 Pike Tool Command Language Cascading Style Sheets Level 3 Ada Cascading Style Sheets Lua
11
action count
action less
action find_reverse_tuple_counts
relation programming language
type programming language
type software
action count
action filter_type
action find_reverse
entity JavaScript
relation programming language
type software
[{'concept': 'software'}, 'programming language', {'concept': 'programming language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:programming_language ?o . ?o rdf:type ontology:programming_language . ?n rdf:type ontology:software } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ontology:software . ?z property:programming_language resource:JavaScript } } . FILTER ( ?d < ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2891828
P136
Q483394
USER
What can be considered as category for Battlefield 1942: Secret Weapons of WWII ?
(Q2891828,P136,c(Q483394))
action filter_type
action find
entity Q2891828
relation P136
type Q483394
['Q2891828', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?t WHERE { resource:Q2891828 property:P136 ?t . ?t rdf:type ontology:Q483394 }
Battlefield 1942: Secret Weapons of WWII
action filter_type
action find
entity Battlefield 1942: Secret Weapons of WWII
relation genre
type genre
['Battlefield 1942: Secret Weapons of WWII', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?t WHERE { resource:Battlefield_1942:_Secret_Weapons_of_WWII property:genre ?t . ?t rdf:type ontology:genre }
[]
genre
Q185029
SYSTEM
first-person shooter
Q185029
(Q2891828,P136,c(Q483394))
action filter_type
action find
entity Q2891828
relation P136
type Q483394
The [ANSWER] can be considered as category for Battlefield 1942: Secret Weapons of WWII
['Q2891828', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?t WHERE { resource:Q2891828 property:P136 ?t . ?t rdf:type ontology:Q483394 }
first-person shooter
The first-person shooter can be considered as category for Battlefield 1942: Secret Weapons of WWII
first-person shooter
action filter_type
action find
entity Battlefield 1942: Secret Weapons of WWII
relation genre
type genre
['Battlefield 1942: Secret Weapons of WWII', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?t WHERE { resource:Battlefield_1942:_Secret_Weapons_of_WWII property:genre ?t . ?t rdf:type ontology:genre }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q14559031
P941
Q151885 Q483394
USER
Which concepts were lesser number of genres inspired by than elevator music ?
(c(Q483394),P941,c(Q151885))
action less
action find_reverse_tuple_counts
relation P941
type Q151885
type Q483394
action count
action filter_type
action find_reverse
entity Q14559031
relation P941
type Q483394
[{'concept': 'Q483394'}, 'P941', {'concept': 'Q151885'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P941 ?p . ?p rdf:type ontology:Q151885 . ?j rdf:type ontology:Q483394 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i rdf:type ontology:Q483394 . ?i property:P941 resource:Q14559031 } } . FILTER ( ?v < ?d ) }
elevator music
action less
action find_reverse_tuple_counts
relation inspired by
type concept
type genre
action count
action filter_type
action find_reverse
entity elevator music
relation inspired by
type genre
[{'concept': 'genre'}, 'inspired by', {'concept': 'concept'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:inspired_by ?p . ?p rdf:type ontology:concept . ?j rdf:type ontology:genre } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i rdf:type ontology:genre . ?i property:inspired_by resource:elevator_music } } . FILTER ( ?v < ?d ) }
[]
concept genre
Q8341 Q2979
SYSTEM
jazz, liberty
Q8341 Q2979
(c(Q483394),P941,c(Q151885))
action less
action find_reverse_tuple_counts
relation P941
type Q151885
type Q483394
action count
action filter_type
action find_reverse
entity Q14559031
relation P941
type Q483394
[ANSWERS] were lesser number of genres inspired by than elevator music
[{'concept': 'Q483394'}, 'P941', {'concept': 'Q151885'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P941 ?p . ?p rdf:type ontology:Q151885 . ?j rdf:type ontology:Q483394 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i rdf:type ontology:Q483394 . ?i property:P941 resource:Q14559031 } } . FILTER ( ?v < ?d ) }
jazz liberty
Jazz and liberty were lesser number of genres inspired by than elevator music
jazz liberty
action less
action find_reverse_tuple_counts
relation inspired by
type concept
type genre
action count
action filter_type
action find_reverse
entity elevator music
relation inspired by
type genre
[{'concept': 'genre'}, 'inspired by', {'concept': 'concept'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:inspired_by ?p . ?p rdf:type ontology:concept . ?j rdf:type ontology:genre } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i rdf:type ontology:genre . ?i property:inspired_by resource:elevator_music } } . FILTER ( ?v < ?d ) }
[]