Simple Question (Direct)
Simple Question
Q1026751
P47
Q20667921
USER
Which french administrative divisions have a shared border with Marenla ?
(Q1026751,P47,c(Q20667921))
action filter_type
action find
entity Q1026751
relation P47
type Q20667921
['Q1026751', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q20667921 . resource:Q1026751 property:P47 ?q }
Marenla
action filter_type
action find
entity Marenla
relation shares border with
type type of french administrative division
['Marenla', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_french_administrative_division . resource:Marenla property:shares_border_with ?q }
[]
type of french administrative division
Q1001614 Q1023905 Q322980
SYSTEM
Aix-en-Issart, Saint-Denœux, Brimeux
Q322980 Q266406 Q1067865 Q1023905 Q1067574 Q1001614 Q1027211 Q37719
(Q1026751,P47,c(Q20667921))
action filter_type
action find
entity Q1026751
relation P47
type Q20667921
[ANSWERS] have a shared border with Marenla
['Q1026751', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q20667921 . resource:Q1026751 property:P47 ?q }
Brimeux Loison-sur-Créquoise Marles-sur-Canche Saint-Denœux Marant Aix-en-Issart Lespinoy Beaurainville
Aix-en-Issart, Saint-Denœux and Brimeux have a shared border with Marenla
Aix-en-Issart Saint-Denœux Brimeux
action filter_type
action find
entity Marenla
relation shares border with
type type of french administrative division
['Marenla', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_french_administrative_division . resource:Marenla property:shares_border_with ?q }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1001614 Q1023905 Q322980
P17
Q15617994
USER
Which administrative territories are Aix-en-Issart, Saint-Denœux and Brimeux present in ?
(Q1001614,P17,c(Q15617994)) (Q1023905,P17,c(Q15617994)) (Q322980,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1001614
relation P17
type Q15617994
action filter_type
action find
entity Q1023905
relation P17
type Q15617994
action filter_type
action find
entity Q322980
relation P17
type Q15617994
['Q1001614', 'P17', {'concept': 'Q15617994'}] ['Q1023905', 'P17', {'concept': 'Q15617994'}] ['Q322980', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?s property:P17 ?y . VALUES ( ?s ) { ( resource:Q1001614 ) ( resource:Q1023905 ) } }
Aix-en-Issart Saint-Denœux Brimeux
action union
action filter_type
action find
entity Aix-en-Issart
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Saint-Denœux
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Brimeux
relation country
type designation for an administrative territorial entity
['Aix-en-Issart', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Denœux', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brimeux', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?s property:country ?y . VALUES ( ?s ) { ( resource:Aix-en-Issart ) ( resource:Saint-Denœux ) } }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q1001614,P17,c(Q15617994)) (Q1023905,P17,c(Q15617994)) (Q322980,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1001614
relation P17
type Q15617994
action filter_type
action find
entity Q1023905
relation P17
type Q15617994
action filter_type
action find
entity Q322980
relation P17
type Q15617994
[ANSWER] [ANSWER], [ANSWER] and [ANSWER] are Aix-en-Issart, Saint-Denœux and Brimeux present in
['Q1001614', 'P17', {'concept': 'Q15617994'}] ['Q1023905', 'P17', {'concept': 'Q15617994'}] ['Q322980', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?s property:P17 ?y . VALUES ( ?s ) { ( resource:Q1001614 ) ( resource:Q1023905 ) } }
France France France
France France, France and France are Aix-en-Issart, Saint-Denœux and Brimeux present in
France France France
action union
action filter_type
action find
entity Aix-en-Issart
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Saint-Denœux
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Brimeux
relation country
type designation for an administrative territorial entity
['Aix-en-Issart', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Denœux', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brimeux', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?s property:country ?y . VALUES ( ?s ) { ( resource:Aix-en-Issart ) ( resource:Saint-Denœux ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P463
Q56061
USER
What was France a member of ?
(Q142,P463,c(Q56061))
action filter_type
action find
entity Q142
relation P463
type Q56061
['Q142', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q142 property:P463 ?b . ?b rdf:type ontology:Q56061 }
France
action filter_type
action find
entity France
relation member of
type administrative territorial entity
['France', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:France property:member_of ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q142,P463,c(Q56061))
action filter_type
action find
entity Q142
relation P463
type Q56061
France was a member of [ANSWER]
['Q142', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q142 property:P463 ?b . ?b rdf:type ontology:Q56061 }
European Union
France was a member of European Union
European Union
action filter_type
action find
entity France
relation member of
type administrative territorial entity
['France', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:France property:member_of ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q458
P530
Q15617994
USER
Who holds diplomatic relationship with that administrative territory ?
(Q458,P530,c(Q15617994))
action filter_type
action find
entity Q458
relation P530
type Q15617994
['Q458', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q458 property:P530 ?k . ?k rdf:type ontology:Q15617994 }
European Union
action filter_type
action find
entity European Union
relation diplomatic relation
type designation for an administrative territorial entity
['European Union', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:European_Union property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q184 Q34020
SYSTEM
Brazil, Belarus, Niue
Q155 Q184 Q34020
(Q458,P530,c(Q15617994))
action filter_type
action find
entity Q458
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with that administrative territory
['Q458', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q458 property:P530 ?k . ?k rdf:type ontology:Q15617994 }
Brazil Belarus Niue
Brazil, Belarus and Niue hold diplomatic relationship with that administrative territory
Brazil Belarus Niue
action filter_type
action find
entity European Union
relation diplomatic relation
type designation for an administrative territorial entity
['European Union', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:European_Union property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q241974 Q458
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with European Union or are Arco da Calheta situated in ?
OR((Q458,P530,c(Q15617994)), (Q241974,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q458
relation P530
action find
entity Q241974
relation P17
type Q15617994
{'OR': [['Q458', 'P530', {'concept': 'Q15617994'}], ['Q241974', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q458 property:P530 ?j } UNION { resource:Q241974 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Arco da Calheta European Union
action filter_type
action union
action find
entity European Union
relation diplomatic relation
action find
entity Arco da Calheta
relation country
type designation for an administrative territorial entity
{'OR': [['European Union', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Arco da Calheta', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:European_Union property:diplomatic_relation ?j } UNION { resource:Arco_da_Calheta property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q184 Q45 Q34020
SYSTEM
Brazil, Belarus, Portugal, Niue
Q155 Q184 Q45 Q34020
OR((Q458,P530,c(Q15617994)), (Q241974,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q458
relation P530
action find
entity Q241974
relation P17
type Q15617994
[ANSWERS] have a diplomatic relationship with European Union or are Arco da Calheta situated in
{'OR': [['Q458', 'P530', {'concept': 'Q15617994'}], ['Q241974', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q458 property:P530 ?j } UNION { resource:Q241974 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Brazil Belarus Portugal Niue
Brazil, Belarus, Portugal and Niue have a diplomatic relationship with European Union or are Arco da Calheta situated in
Brazil Belarus Portugal Niue
action filter_type
action union
action find
entity European Union
relation diplomatic relation
action find
entity Arco da Calheta
relation country
type designation for an administrative territorial entity
{'OR': [['European Union', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Arco da Calheta', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:European_Union property:diplomatic_relation ?j } UNION { resource:Arco_da_Calheta property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q155 Q1007
P463
Q43229
USER
How many organizations had Brazil and Guinea-Bissau as their member ?
(Q155,P463,c(Q43229)) (Q1007,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q155
relation P463
type Q43229
action filter_type
action find
entity Q1007
relation P463
type Q43229
['Q155', 'P463', {'concept': 'Q43229'}] ['Q1007', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ontology:Q43229 . resource:Q155 property:P463 ?h . resource:Q1007 property:P463 ?h . ?h rdf:type ontology:Q43229 }
Brazil Guinea-Bissau
action count
action intersection
action filter_type
action find
entity Brazil
relation member of
type organization
action filter_type
action find
entity Guinea-Bissau
relation member of
type organization
['Brazil', 'member of', {'concept': 'organization'}] ['Guinea-Bissau', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ontology:organization . resource:Brazil property:member_of ?h . resource:Guinea-Bissau property:member_of ?h . ?h rdf:type ontology:organization }
[]
organization
SYSTEM
5
Q340195 Q7825 Q191384 Q656801 Q827525
(Q155,P463,c(Q43229)) (Q1007,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q155
relation P463
type Q43229
action filter_type
action find
entity Q1007
relation P463
type Q43229
[ANSWER]
['Q155', 'P463', {'concept': 'Q43229'}] ['Q1007', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ontology:Q43229 . resource:Q155 property:P463 ?h . resource:Q1007 property:P463 ?h . ?h rdf:type ontology:Q43229 }
African Development Bank World Trade Organization International Bank for Reconstruction and Development International Finance Corporation International Development Association
5
action count
action intersection
action filter_type
action find
entity Brazil
relation member of
type organization
action filter_type
action find
entity Guinea-Bissau
relation member of
type organization
['Brazil', 'member of', {'concept': 'organization'}] ['Guinea-Bissau', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ontology:organization . resource:Brazil property:member_of ?h . resource:Guinea-Bissau property:member_of ?h . ?h rdf:type ontology:organization }
[]