Simple Question (Direct)
Simple Question
Q3298606
P19
Q56061
USER
Which administrative territory was Mathieu-Antoine Bouchaud born at ?
(Q3298606,P19,c(Q56061))
action filter_type
action find
entity Q3298606
relation P19
type Q56061
['Q3298606', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q3298606 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Mathieu-Antoine Bouchaud
action filter_type
action find
entity Mathieu-Antoine Bouchaud
relation place of birth
type administrative territorial entity
['Mathieu-Antoine Bouchaud', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Mathieu-Antoine_Bouchaud property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3298606,P19,c(Q56061))
action filter_type
action find
entity Q3298606
relation P19
type Q56061
Which administrative territory was Mathieu-Antoine Bouchaud born at
['Q3298606', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q3298606 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Paris
Which administrative territory was Mathieu-Antoine Bouchaud born at
Paris
action filter_type
action find
entity Mathieu-Antoine Bouchaud
relation place of birth
type administrative territorial entity
['Mathieu-Antoine Bouchaud', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Mathieu-Antoine_Bouchaud property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3298606
P108
Q41176
USER
Who is the employer of Mathieu-Antoine Bouchaud ?
(Q3298606,P108,c(Q41176))
action filter_type
action find
entity Q3298606
relation P108
type Q41176
['Q3298606', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?q WHERE { resource:Q3298606 property:P108 ?q . ?q rdf:type ontology:Q41176 }
Mathieu-Antoine Bouchaud
action filter_type
action find
entity Mathieu-Antoine Bouchaud
relation employer
type building
['Mathieu-Antoine Bouchaud', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?q WHERE { resource:Mathieu-Antoine_Bouchaud property:employer ?q . ?q rdf:type ontology:building }
[]
building
Q202660
SYSTEM
Collège de France
Q202660
(Q3298606,P108,c(Q41176))
action filter_type
action find
entity Q3298606
relation P108
type Q41176
The employer of Mathieu-Antoine Bouchaud is the [ANSWER]
['Q3298606', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?q WHERE { resource:Q3298606 property:P108 ?q . ?q rdf:type ontology:Q41176 }
Collège de France
The employer of Mathieu-Antoine Bouchaud is the Collège de France
Collège de France
action filter_type
action find
entity Mathieu-Antoine Bouchaud
relation employer
type building
['Mathieu-Antoine Bouchaud', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?q WHERE { resource:Mathieu-Antoine_Bouchaud property:employer ?q . ?q rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3298606
P734
Q82799
USER
Which name is associated with that person ?
(Q202660,P734,c(Q82799))
action filter_type
action find
entity Q3298606
relation P734
type Q82799
['Q202660', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q3298606 property:P734 ?c }
Mathieu-Antoine Bouchaud
action filter_type
action find
entity Mathieu-Antoine Bouchaud
relation family name
type name
['Collège de France', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:Mathieu-Antoine_Bouchaud property:family_name ?c }
[]
name
Q25479513
SYSTEM
Bouchaud
Q25479513
(Q202660,P734,c(Q82799))
action filter_type
action find
entity Q3298606
relation P734
type Q82799
[ANSWER] is associated with that person
['Q202660', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q3298606 property:P734 ?c }
Bouchaud
Bouchaud is associated with that person
Bouchaud
action filter_type
action find
entity Mathieu-Antoine Bouchaud
relation family name
type name
['Collège de France', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:Mathieu-Antoine_Bouchaud property:family_name ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q41176 Q3305213 Q838948
USER
How many buildings are expressed in approximately 1 paintings and works of art ?
(c(Q3305213)|c(Q838948),P180,c(Q41176))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q41176
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q41176
type Q838948
value 1
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?n ) WHERE { { ?z property:P180 ?h . ?h rdf:type ontology:Q41176 . ?z rdf:type ontology:Q3305213 } UNION { ?z property:P180 ?h . ?z rdf:type ontology:Q838948 . ?h rdf:type ontology:Q41176 } } GROUP BY ?h } . FILTER ( ?n = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type building
type painting
action find_reverse_tuple_counts
relation depicts
type building
type work of art
value 1
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?n ) WHERE { { ?z property:depicts ?h . ?h rdf:type ontology:building . ?z rdf:type ontology:painting } UNION { ?z property:depicts ?h . ?z rdf:type ontology:work_of_art . ?h rdf:type ontology:building } } GROUP BY ?h } . FILTER ( ?n = 1 ) }
[]
building painting work of art
SYSTEM
15
Q2047247 Q170544 Q34627 Q182147 Q918230 Q1992203 Q193193 Q189883 Q42646 Q209937 Q7461 Q3983167 Q5784097 Q211818 Q1303167
(c(Q3305213)|c(Q838948),P180,c(Q41176))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q41176
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q41176
type Q838948
value 1
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q41176'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?n ) WHERE { { ?z property:P180 ?h . ?h rdf:type ontology:Q41176 . ?z rdf:type ontology:Q3305213 } UNION { ?z property:P180 ?h . ?z rdf:type ontology:Q838948 . ?h rdf:type ontology:Q41176 } } GROUP BY ?h } . FILTER ( ?n = 1 ) }
Palais de la Cité tent synagogue Winter Palace Roman villa temple of Diana Sainte Chapelle Doge's Palace Windsor Castle Vienna State Opera Gatchina Palace Temple of Clitumnus hut Belvedere barn
15
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type building
type painting
action find_reverse_tuple_counts
relation depicts
type building
type work of art
value 1
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'building'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?n ) WHERE { { ?z property:depicts ?h . ?h rdf:type ontology:building . ?z rdf:type ontology:painting } UNION { ?z property:depicts ?h . ?z rdf:type ontology:work_of_art . ?h rdf:type ontology:building } } GROUP BY ?h } . FILTER ( ?n = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q202660
P159
Q56061
USER
How many administrative territories are the headquarters of Collège de France located ?
(Q202660,P159,c(Q56061))
action count
action filter_type
action find
entity Q202660
relation P159
type Q56061
['Q202660', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q202660 property:P159 ?c . ?c rdf:type ontology:Q56061 }
Collège de France
action count
action filter_type
action find
entity Collège de France
relation headquarters location
type administrative territorial entity
['Collège de France', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Collège_de_France property:headquarters_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q90
(Q202660,P159,c(Q56061))
action count
action filter_type
action find
entity Q202660
relation P159
type Q56061
[ANSWER]
['Q202660', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q202660 property:P159 ?c . ?c rdf:type ontology:Q56061 }
Paris
1
action count
action filter_type
action find
entity Collège de France
relation headquarters location
type administrative territorial entity
['Collège de France', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Collège_de_France property:headquarters_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7798846
Q56061
USER
And what about Thumbtack?
(Q7798846,P159,c(Q56061))
action count
action filter_type
action find
entity Q7798846
relation P159
type Q56061
['Q7798846', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Q7798846 property:P159 ?x . ?x rdf:type ontology:Q56061 }
Thumbtack
action count
action filter_type
action find
entity Thumbtack
relation headquarters location
type administrative territorial entity
['Thumbtack', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Thumbtack property:headquarters_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q7798846,P159,c(Q56061))
action count
action filter_type
action find
entity Q7798846
relation P159
type Q56061
[ANSWER]
['Q7798846', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Q7798846 property:P159 ?x . ?x rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Thumbtack
relation headquarters location
type administrative territorial entity
['Thumbtack', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Thumbtack property:headquarters_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q25479513
P734 P21
Q502895
USER
Which people have Bouchaud as last name and have male as the sex ?
AND((c(Q502895),P734,Q25479513), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q25479513
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q25479513'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P734 resource:Q25479513 . ?d property:P21 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
male Bouchaud
action filter_type
action intersection
action find_reverse
entity Bouchaud
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Bouchaud'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:family_name resource:Bouchaud . ?d property:gender resource:male . ?d rdf:type ontology:common_name }
[]
common name
Q3170868 Q3592075 Q3170867 Q3270759 Q15970967 Q3168754 Q3340128 Q3298606
SYSTEM
Jean Bouchaud, Etienne Bouchaud, Jean Bouchaud, Léon Bouchaud, Michel Bouchaud, Jean-Philippe Bouchaud, Nicolas Bouchaud, Mathieu-Antoine Bouchaud
Q3170868 Q3592075 Q3170867 Q3270759 Q15970967 Q3168754 Q3340128 Q3298606
AND((c(Q502895),P734,Q25479513), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q25479513
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Bouchaud as last name and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q25479513'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P734 resource:Q25479513 . ?d property:P21 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
Jean Bouchaud Etienne Bouchaud Jean Bouchaud Léon Bouchaud Michel Bouchaud Jean-Philippe Bouchaud Nicolas Bouchaud Mathieu-Antoine Bouchaud
Jean Bouchaud, Etienne Bouchaud, Jean Bouchaud, Léon Bouchaud, Michel Bouchaud, Jean-Philippe Bouchaud, Nicolas Bouchaud and Mathieu-Antoine Bouchaud have Bouchaud as last name and have male as the sex
Jean Bouchaud Etienne Bouchaud Jean Bouchaud Léon Bouchaud Michel Bouchaud Jean-Philippe Bouchaud Nicolas Bouchaud Mathieu-Antoine Bouchaud
action filter_type
action intersection
action find_reverse
entity Bouchaud
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Bouchaud'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:family_name resource:Bouchaud . ?d property:gender resource:male . ?d rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q11325839
P725
Q502895 Q2342494
USER
How many collectables had approximately the same number of people as the dubbing artist as No Game No Life-mart ?
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q11325839
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?a ) WHERE { ?k property:P725 ?i . ?k rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:Q11325839 property:P725 ?h . ?h rdf:type ontology:Q2342494 } } . FILTER ( ?a = ?p ) }
No Game No Life-mart
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity No Game No Life-mart
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?a ) WHERE { ?k property:voice_actor ?i . ?k rdf:type ontology:collectable . ?i rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:No_Game_No_Life-mart property:voice_actor ?h . ?h rdf:type ontology:collectable } } . FILTER ( ?a = ?p ) }
[]
common name collectable
SYSTEM
12
Q50035 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q11325839
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?a ) WHERE { ?k property:P725 ?i . ?k rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:Q11325839 property:P725 ?h . ?h rdf:type ontology:Q2342494 } } . FILTER ( ?a = ?p ) }
Nyaruko: Crawling with Love Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Muv-Luv
12
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity No Game No Life-mart
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?a ) WHERE { ?k property:voice_actor ?i . ?k rdf:type ontology:collectable . ?i rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:No_Game_No_Life-mart property:voice_actor ?h . ?h rdf:type ontology:collectable } } . FILTER ( ?a = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q119534
P725
Q502895 Q2342494
USER
And how about Shakugan no Shana?
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q119534
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?w ) WHERE { ?c property:P725 ?m . ?c rdf:type ontology:Q2342494 . ?m rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q119534 property:P725 ?y . ?y rdf:type ontology:Q2342494 } } . FILTER ( ?w = ?f ) }
Shakugan no Shana
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Shakugan no Shana
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?w ) WHERE { ?c property:voice_actor ?m . ?c rdf:type ontology:collectable . ?m rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Shakugan_no_Shana property:voice_actor ?y . ?y rdf:type ontology:collectable } } . FILTER ( ?w = ?f ) }
[]
common name collectable
SYSTEM
12
Q50035 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q119534
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?w ) WHERE { ?c property:P725 ?m . ?c rdf:type ontology:Q2342494 . ?m rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Q119534 property:P725 ?y . ?y rdf:type ontology:Q2342494 } } . FILTER ( ?w = ?f ) }
Nyaruko: Crawling with Love Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Muv-Luv
12
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Shakugan no Shana
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?w ) WHERE { ?c property:voice_actor ?m . ?c rdf:type ontology:collectable . ?m rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { resource:Shakugan_no_Shana property:voice_actor ?y . ?y rdf:type ontology:collectable } } . FILTER ( ?w = ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19619995 Q90
P1376 P17
Q15617994
USER
Which administrative territories have Paris have their center of administration or do Van der Welstraat belong to ?
OR((Q90,P1376,c(Q15617994)), (Q19619995,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q90
relation P1376
action find
entity Q19619995
relation P17
type Q15617994
{'OR': [['Q90', 'P1376', {'concept': 'Q15617994'}], ['Q19619995', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q90 property:P1376 ?c } UNION { resource:Q19619995 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
Van der Welstraat Paris
action filter_type
action union
action find
entity Paris
relation capital of
action find
entity Van der Welstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Paris', 'capital of', {'concept': 'designation for an administrative territorial entity'}], ['Van der Welstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Paris property:capital_of ?c } UNION { resource:Van_der_Welstraat property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q1142326 Q55
SYSTEM
France, Seine, Netherlands
Q142 Q1142326 Q55
OR((Q90,P1376,c(Q15617994)), (Q19619995,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q90
relation P1376
action find
entity Q19619995
relation P17
type Q15617994
[ANSWERS] have Paris have their center of administration or do Van der Welstraat belong to
{'OR': [['Q90', 'P1376', {'concept': 'Q15617994'}], ['Q19619995', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q90 property:P1376 ?c } UNION { resource:Q19619995 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
France Seine Netherlands
France, Seine and Netherlands have Paris have their center of administration or do Van der Welstraat belong to
France Seine Netherlands
action filter_type
action union
action find
entity Paris
relation capital of
action find
entity Van der Welstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Paris', 'capital of', {'concept': 'designation for an administrative territorial entity'}], ['Van der Welstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Paris property:capital_of ?c } UNION { resource:Van_der_Welstraat property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
Which administrative territories were the sources of inspiration for greater number of fictional locations than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|More/Less|Single entity type|Clarification
Q1142326
SYSTEM
Did you mean Seine ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean Seine ?
Seine
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant France. Could you tell me the answer for that?
(c(Q3895768),P941,c(Q15617994))
Q142
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
Q668
SYSTEM
India
Q668
(c(Q3895768),P941,c(Q15617994))
[ANSWER] was the sources of inspiration for greater number of fictional locations than that administrative territory
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
India
India was the sources of inspiration for greater number of fictional locations than that administrative territory
India
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q668 Q1929347 Q183
P530
Q1048835
USER
Does that administrative territory have tactful political relations with Hueva and Germany ?
(Q668,P530,Q1929347) (Q668,P530,Q183)
action is_in
entity Q668
action intersection
action find_reverse
entity Q1929347
relation P530
action find_reverse
entity Q183
relation P530
['Q668', 'P530', 'Q1929347'] ['Q668', 'P530', 'Q183']
ASK WHERE { resource:Q668 property:P530 resource:Q183 . resource:Q668 property:P530 resource:Q1929347 }
India Hueva Germany
action is_in
entity India
action intersection
action find_reverse
entity Hueva
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['India', 'diplomatic relation', 'Hueva'] ['India', 'diplomatic relation', 'Germany']
ASK WHERE { resource:India property:diplomatic_relation resource:Germany . resource:India property:diplomatic_relation resource:Hueva }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q668,P530,Q1929347) (Q668,P530,Q183)
action is_in
entity Q668
action intersection
action find_reverse
entity Q1929347
relation P530
action find_reverse
entity Q183
relation P530
[ANSWER]
['Q668', 'P530', 'Q1929347'] ['Q668', 'P530', 'Q183']
ASK WHERE { resource:Q668 property:P530 resource:Q183 . resource:Q668 property:P530 resource:Q1929347 }
NO and YES respectively
action is_in
entity India
action intersection
action find_reverse
entity Hueva
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['India', 'diplomatic relation', 'Hueva'] ['India', 'diplomatic relation', 'Germany']
ASK WHERE { resource:India property:diplomatic_relation resource:Germany . resource:India property:diplomatic_relation resource:Hueva }
[]