Simple Question (Direct)
Simple Question
Q5040093
P641
Q349
USER
What did Carl Emberson participate in ?
(Q5040093,P641,c(Q349))
action filter_type
action find
entity Q5040093
relation P641
type Q349
['Q5040093', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q5040093 property:P641 ?l . ?l rdf:type ontology:Q349 }
Carl Emberson
action filter_type
action find
entity Carl Emberson
relation sport
type sport
['Carl Emberson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Carl_Emberson property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5040093,P641,c(Q349))
action filter_type
action find
entity Q5040093
relation P641
type Q349
Carl Emberson participated in [ANSWER]
['Q5040093', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q5040093 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
Carl Emberson participated in association football
association football
action filter_type
action find
entity Carl Emberson
relation sport
type sport
['Carl Emberson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Carl_Emberson property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5040093
P106
Q12737077
USER
What is the job of Carl Emberson ?
(Q5040093,P106,c(Q12737077))
action filter_type
action find
entity Q5040093
relation P106
type Q12737077
['Q5040093', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q5040093 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Carl Emberson
action filter_type
action find
entity Carl Emberson
relation occupation
type occupation
['Carl Emberson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Emberson property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5040093,P106,c(Q12737077))
action filter_type
action find
entity Q5040093
relation P106
type Q12737077
The job of Carl Emberson is an [ANSWER]
['Q5040093', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q5040093 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football player
The job of Carl Emberson is an association football player
association football player
action filter_type
action find
entity Carl Emberson
relation occupation
type occupation
['Carl Emberson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Emberson property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q937857 Q19958208
P106
Q502895
USER
Does Allan Jacobsen have the profession as that occupation ?
(Q19958208,P106,Q937857)
action is_in
entity Q19958208
action find
entity Q937857
relation P106
['Q19958208', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q19958208 }
association football player Allan Jacobsen
action is_in
entity Allan Jacobsen
action find
entity association football player
relation occupation
['Allan Jacobsen', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:Allan_Jacobsen }
[]
common name
SYSTEM
NO
(Q19958208,P106,Q937857)
action is_in
entity Q19958208
action find
entity Q937857
relation P106
[ANSWER]
['Q19958208', 'P106', 'Q937857']
ASK WHERE { resource:Q937857 property:P106 resource:Q19958208 }
No
action is_in
entity Allan Jacobsen
action find
entity association football player
relation occupation
['Allan Jacobsen', 'occupation', 'association football player']
ASK WHERE { resource:association_football_player property:occupation resource:Allan_Jacobsen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5040093 Q47862
P27
Q15617994
USER
Does Carl Emberson belong to Roncà ?
(Q5040093,P27,Q47862)
action is_in
entity Q47862
action find
entity Q5040093
relation P27
['Q5040093', 'P27', 'Q47862']
ASK WHERE { resource:Q5040093 property:P27 resource:Q47862 }
Carl Emberson Roncà
action is_in
entity Roncà
action find
entity Carl Emberson
relation country of citizenship
['Carl Emberson', 'country of citizenship', 'Roncà']
ASK WHERE { resource:Carl_Emberson property:country_of_citizenship resource:Roncà }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5040093,P27,Q47862)
action is_in
entity Q47862
action find
entity Q5040093
relation P27
[ANSWER]
['Q5040093', 'P27', 'Q47862']
ASK WHERE { resource:Q5040093 property:P27 resource:Q47862 }
No
action is_in
entity Roncà
action find
entity Carl Emberson
relation country of citizenship
['Carl Emberson', 'country of citizenship', 'Roncà']
ASK WHERE { resource:Carl_Emberson property:country_of_citizenship resource:Roncà }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1407170 Q19958208
P47 P27
Q1048835
USER
Which political territories are the native countriesof Allan Jacobsen or share border with La Mojonera ?
OR((Q19958208,P27,c(Q1048835)), (Q1407170,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q19958208
relation P27
action find
entity Q1407170
relation P47
type Q1048835
{'OR': [['Q19958208', 'P27', {'concept': 'Q1048835'}], ['Q1407170', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . { { resource:Q1407170 property:P47 ?f } UNION { resource:Q19958208 property:P27 ?f } } }
La Mojonera Allan Jacobsen
action filter_type
action union
action find
entity Allan Jacobsen
relation country of citizenship
action find
entity La Mojonera
relation shares border with
type political territorial entity
{'OR': [['Allan Jacobsen', 'country of citizenship', {'concept': 'political territorial entity'}], ['La Mojonera', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . { { resource:La_Mojonera property:shares_border_with ?f } UNION { resource:Allan_Jacobsen property:country_of_citizenship ?f } } }
[]
political territorial entity
Q493933 Q1110397 Q499184 Q35
SYSTEM
El Ejido, Vícar, Roquetas de Mar, Denmark
Q493933 Q1110397 Q499184 Q35
OR((Q19958208,P27,c(Q1048835)), (Q1407170,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q19958208
relation P27
action find
entity Q1407170
relation P47
type Q1048835
[ANSWERS] are the native countriesof Allan Jacobsen or share border with La Mojonera
{'OR': [['Q19958208', 'P27', {'concept': 'Q1048835'}], ['Q1407170', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . { { resource:Q1407170 property:P47 ?f } UNION { resource:Q19958208 property:P27 ?f } } }
El Ejido Vícar Roquetas de Mar Denmark
El Ejido, Vícar, Roquetas de Mar and Denmark are the native countriesof Allan Jacobsen or share border with La Mojonera
El Ejido Vícar Roquetas de Mar Denmark
action filter_type
action union
action find
entity Allan Jacobsen
relation country of citizenship
action find
entity La Mojonera
relation shares border with
type political territorial entity
{'OR': [['Allan Jacobsen', 'country of citizenship', {'concept': 'political territorial entity'}], ['La Mojonera', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . { { resource:La_Mojonera property:shares_border_with ?f } UNION { resource:Allan_Jacobsen property:country_of_citizenship ?f } } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1427
Q1048835 Q18608583 Q31629
USER
How many political territories do greater number of recurring sporting events and types of sport start than that political territory ?
(c(Q18608583)|c(Q31629),P1427,c(Q1048835))
[[{'concept': 'Q18608583'}, {'concept': 'Q31629'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:P1427 ?y } . ?z rdf:type ontology:Q18608583 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q31629 }
[[{'concept': 'recurring sporting event'}, {'concept': 'type of sport'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:start_point ?y } . ?z rdf:type ontology:recurring_sporting_event . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:type_of_sport }
[]
political territorial entity recurring sporting event type of sport
Comparative|Count over More/Less|Mult. entity type|Clarification
Q499184
SYSTEM
Did you mean Roquetas de Mar ?
(c(Q18608583)|c(Q31629),P1427,c(Q1048835))
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q31629'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:P1427 ?y } . ?z rdf:type ontology:Q18608583 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q31629 }
Did you mean Roquetas de Mar ?
Roquetas de Mar
[[{'concept': 'recurring sporting event'}, {'concept': 'type of sport'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:start_point ?y } . ?z rdf:type ontology:recurring_sporting_event . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:type_of_sport }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q18608583)|c(Q31629),P1427,c(Q1048835))
[[{'concept': 'Q18608583'}, {'concept': 'Q31629'}], 'P1427', {'concept': 'Q1048835'}]
[[{'concept': 'recurring sporting event'}, {'concept': 'type of sport'}], 'start point', {'concept': 'political territorial entity'}]
[]
SYSTEM
44
Q572800 Q15907 Q1443867 Q593620 Q615841 Q1552975 Q496424 Q1628353 Q1607762 Q641221 Q1647365 Q671341 Q848172 Q847329 Q1605692 Q11492 Q430454 Q1646362 Q1641632 Q371748 Q1649616 Q634078 Q1186888 Q15486 Q851020 Q846153 Q913277 Q12540 Q15640 Q492748 Q1617896 Q12686 Q533277 Q636467 Q648921 Q818341 Q221749 Q13614 Q12647 Q976528 Q693913 Q1605993 Q604810 Q592747
(c(Q18608583)|c(Q31629),P1427,c(Q1048835))
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q31629'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q18608583 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q31629 }
Alcañiz Rota Los Corrales de Buelna Monachil Puebla de Don Fadrique Sabiñánigo Calatayud Sasamón Cenlle Viveiro Urdazubi/Urdax Betanzos Caleruega Comillas Palomares del Río Mataró Roa, Burgos Villalpando Jódar San Lorenzo de El Escorial Orio Marín, Pontevedra Denbigh Bagà Xàbia San Roque Mazarrón Calella Sant Joan Despí Estepona Maceda Rialp Almonaster la Real Benicàssim Etxebarria Monforte de Lemos Torrevieja Banyoles Vielha e Mijaran Alhaurín de la Torre Medina del Campo Cistierna Markina-Xemein Las Rozas de Madrid
44
[[{'concept': 'recurring sporting event'}, {'concept': 'type of sport'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:recurring_sporting_event . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:type_of_sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q766
P530
Q1048835 Q15617994 Q1048835
USER
Which political territories have ambassadorial relations with around the same number of political territories or administrative territories as Jamaica ?
(c(Q1048835),P530,c(Q1048835)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_multi_types
action find
entity Q766
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?h WHERE { VALUES ( ?r ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?k rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } . resource:Q766 property:P530 ?t } } . FILTER ( ?x = ?i ) }
Jamaica
action approx
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?h WHERE { VALUES ( ?r ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?k rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } . resource:Jamaica property:diplomatic_relation ?t } } . FILTER ( ?x = ?i ) }
[]
political territorial entity designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q1048835)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_multi_types
action find
entity Q766
relation P530
type Q1048835
type Q15617994
[ANSWERS] have ambassadorial relations with around the same number of political territories or administrative territories as Jamaica
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?h WHERE { VALUES ( ?r ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?k rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } . resource:Q766 property:P530 ?t } } . FILTER ( ?x = ?i ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have ambassadorial relations with around the same number of political territories or administrative territories as Jamaica
Denmark Canada Austria
action approx
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) ?h WHERE { VALUES ( ?r ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?k rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } . resource:Jamaica property:diplomatic_relation ?t } } . FILTER ( ?x = ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q408
P530
Q1048835 Q15617994 Q1048835
USER
And how about Australia?
(c(Q1048835),P530,c(Q1048835)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_multi_types
action find
entity Q408
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?f ) WHERE { VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?c rdf:type ?r } GROUP BY ?a } . FILTER ( ?f = ?y ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { { ?d rdf:type ontology:Q1048835 } UNION { ?d rdf:type ontology:Q15617994 } } . resource:Q408 property:P530 ?d } } }
Australia
action approx
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Australia
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?f ) WHERE { VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?c rdf:type ?r } GROUP BY ?a } . FILTER ( ?f = ?y ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { { ?d rdf:type ontology:political_territorial_entity } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . resource:Australia property:diplomatic_relation ?d } } }
[]
political territorial entity designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q1048835)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_multi_types
action find
entity Q408
relation P530
type Q1048835
type Q15617994
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?f ) WHERE { VALUES ( ?r ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?c rdf:type ?r } GROUP BY ?a } . FILTER ( ?f = ?y ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { { ?d rdf:type ontology:Q1048835 } UNION { ?d rdf:type ontology:Q15617994 } } . resource:Q408 property:P530 ?d } } }
Germany Australia
Germany Australia
action approx
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Australia
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?f ) WHERE { VALUES ( ?r ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?c rdf:type ?r } GROUP BY ?a } . FILTER ( ?f = ?y ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { { ?d rdf:type ontology:political_territorial_entity } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . resource:Australia property:diplomatic_relation ?d } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10472 Q1407170
P47
Q1048835
USER
Which political territories do La Mojonera or Miltenberg share a border with ?
OR((c(Q1048835),P47,Q1407170), (c(Q1048835),P47,Q10472))
action filter_type
action union
action find_reverse
entity Q1407170
relation P47
action find_reverse
entity Q10472
relation P47
type Q1048835
{'OR': [[{'concept': 'Q1048835'}, 'P47', 'Q1407170'], [{'concept': 'Q1048835'}, 'P47', 'Q10472']]}
SELECT DISTINCT ?r WHERE { { { ?r property:P47 resource:Q1407170 } UNION { ?r property:P47 resource:Q10472 } } . ?r rdf:type ontology:Q1048835 }
Miltenberg La Mojonera
action filter_type
action union
action find_reverse
entity La Mojonera
relation shares border with
action find_reverse
entity Miltenberg
relation shares border with
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'shares border with', 'La Mojonera'], [{'concept': 'political territorial entity'}, 'shares border with', 'Miltenberg']]}
SELECT DISTINCT ?r WHERE { { { ?r property:shares_border_with resource:La_Mojonera } UNION { ?r property:shares_border_with resource:Miltenberg } } . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q493933 Q10469 Q8174 Q10471 Q1110397 Q499184 Q8517 Q7919 Q7916
SYSTEM
El Ejido, Main-Spessart, Neckar-Odenwald, Aschaffenburg, Vícar, Roquetas de Mar, Main-Tauber, Odenwaldkreis, Darmstadt-Dieburg
Q493933 Q10469 Q8174 Q10471 Q1110397 Q499184 Q8517 Q7919 Q7916
OR((c(Q1048835),P47,Q1407170), (c(Q1048835),P47,Q10472))
action filter_type
action union
action find_reverse
entity Q1407170
relation P47
action find_reverse
entity Q10472
relation P47
type Q1048835
La Mojonera or Miltenberg share a border with the [ANSWERS]
{'OR': [[{'concept': 'Q1048835'}, 'P47', 'Q1407170'], [{'concept': 'Q1048835'}, 'P47', 'Q10472']]}
SELECT DISTINCT ?r WHERE { { { ?r property:P47 resource:Q1407170 } UNION { ?r property:P47 resource:Q10472 } } . ?r rdf:type ontology:Q1048835 }
El Ejido Main-Spessart Neckar-Odenwald Aschaffenburg Vícar Roquetas de Mar Main-Tauber Odenwaldkreis Darmstadt-Dieburg
La Mojonera or Miltenberg share a border with the El Ejido, Main-Spessart, Neckar-Odenwald, Aschaffenburg, Vícar, Roquetas de Mar, Main-Tauber, Odenwaldkreis and Darmstadt-Dieburg
El Ejido Main-Spessart Neckar-Odenwald Aschaffenburg Vícar Roquetas de Mar Main-Tauber Odenwaldkreis Darmstadt-Dieburg
action filter_type
action union
action find_reverse
entity La Mojonera
relation shares border with
action find_reverse
entity Miltenberg
relation shares border with
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'shares border with', 'La Mojonera'], [{'concept': 'political territorial entity'}, 'shares border with', 'Miltenberg']]}
SELECT DISTINCT ?r WHERE { { { ?r property:shares_border_with resource:La_Mojonera } UNION { ?r property:shares_border_with resource:Miltenberg } } . ?r rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q35 Q31
P463
Q874405
USER
How many social groups had Denmark and Belgium as their member ?
(Q35,P463,c(Q874405)) (Q31,P463,c(Q874405))
action count
action intersection
action filter_type
action find
entity Q35
relation P463
type Q874405
action filter_type
action find
entity Q31
relation P463
type Q874405
['Q35', 'P463', {'concept': 'Q874405'}] ['Q31', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { resource:Q31 property:P463 ?z . ?z rdf:type ontology:Q874405 . resource:Q35 property:P463 ?z . ?z rdf:type ontology:Q874405 }
Denmark Belgium
action count
action intersection
action filter_type
action find
entity Denmark
relation member of
type social group
action filter_type
action find
entity Belgium
relation member of
type social group
['Denmark', 'member of', {'concept': 'social group'}] ['Belgium', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { resource:Belgium property:member_of ?z . ?z rdf:type ontology:social_group . resource:Denmark property:member_of ?z . ?z rdf:type ontology:social_group }
[]
social group
SYSTEM
2
Q782942 Q8908
(Q35,P463,c(Q874405)) (Q31,P463,c(Q874405))
action count
action intersection
action filter_type
action find
entity Q35
relation P463
type Q874405
action filter_type
action find
entity Q31
relation P463
type Q874405
[ANSWER]
['Q35', 'P463', {'concept': 'Q874405'}] ['Q31', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { resource:Q31 property:P463 ?z . ?z rdf:type ontology:Q874405 . resource:Q35 property:P463 ?z . ?z rdf:type ontology:Q874405 }
Australia Group Council of Europe
2
action count
action intersection
action filter_type
action find
entity Denmark
relation member of
type social group
action filter_type
action find
entity Belgium
relation member of
type social group
['Denmark', 'member of', {'concept': 'social group'}] ['Belgium', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { resource:Belgium property:member_of ?z . ?z rdf:type ontology:social_group . resource:Denmark property:member_of ?z . ?z rdf:type ontology:social_group }
[]