Simple Question (Direct)
Simple Question
Q3351371
P21
Q290
USER
What is the sex of Olivier Schrameck ?
(Q3351371,P21,c(Q290))
action filter_type
action find
entity Q3351371
relation P21
type Q290
['Q3351371', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q3351371 property:P21 ?y . ?y rdf:type ontology:Q290 }
Olivier Schrameck
action filter_type
action find
entity Olivier Schrameck
relation gender
type sex
['Olivier Schrameck', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Olivier_Schrameck property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3351371,P21,c(Q290))
action filter_type
action find
entity Q3351371
relation P21
type Q290
The sex of Olivier Schrameck is the [ANSWER]
['Q3351371', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q3351371 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
The sex of Olivier Schrameck is the male
male
action filter_type
action find
entity Olivier Schrameck
relation gender
type sex
['Olivier Schrameck', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Olivier_Schrameck property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3351371
P39
Q12737077
USER
Which occupation was a position held by Olivier Schrameck ?
(Q3351371,P39,c(Q12737077))
action filter_type
action find
entity Q3351371
relation P39
type Q12737077
['Q3351371', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q3351371 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Olivier Schrameck
action filter_type
action find
entity Olivier Schrameck
relation position held
type occupation
['Olivier Schrameck', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Olivier_Schrameck property:position_held ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q25291904
SYSTEM
ambassador of France to Spain
Q25291904
(Q3351371,P39,c(Q12737077))
action filter_type
action find
entity Q3351371
relation P39
type Q12737077
The [ANSWER] was a position held by Olivier Schrameck
['Q3351371', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q3351371 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
ambassador of France to Spain
The ambassador of France to Spain was a position held by Olivier Schrameck
ambassador of France to Spain
action filter_type
action find
entity Olivier Schrameck
relation position held
type occupation
['Olivier Schrameck', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Olivier_Schrameck property:position_held ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3351371
P27
Q15617994
USER
Which administrative territory is Olivier Schrameck an inhabitant of ?
(Q3351371,P27,c(Q15617994))
action filter_type
action find
entity Q3351371
relation P27
type Q15617994
['Q3351371', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q3351371 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Olivier Schrameck
action filter_type
action find
entity Olivier Schrameck
relation country of citizenship
type designation for an administrative territorial entity
['Olivier Schrameck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Olivier_Schrameck property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3351371,P27,c(Q15617994))
action filter_type
action find
entity Q3351371
relation P27
type Q15617994
[ANSWER] is Olivier Schrameck an inhabitant of
['Q3351371', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q3351371 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
France
France is Olivier Schrameck an inhabitant of
France
action filter_type
action find
entity Olivier Schrameck
relation country of citizenship
type designation for an administrative territorial entity
['Olivier Schrameck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Olivier_Schrameck property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3351371
P106
Q12737077
USER
Which occupation has Olivier Schrameck as his/her 's career ?
(Q3351371,P106,c(Q12737077))
action filter_type
action find
entity Q3351371
relation P106
type Q12737077
['Q3351371', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q3351371 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Olivier Schrameck
action filter_type
action find
entity Olivier Schrameck
relation occupation
type occupation
['Olivier Schrameck', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Olivier_Schrameck property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q193391
SYSTEM
diplomat
Q193391
(Q3351371,P106,c(Q12737077))
action filter_type
action find
entity Q3351371
relation P106
type Q12737077
The [ANSWER] has Olivier Schrameck as his/her 's career
['Q3351371', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q3351371 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
diplomat
The diplomat has Olivier Schrameck as his/her 's career
diplomat
action filter_type
action find
entity Olivier Schrameck
relation occupation
type occupation
['Olivier Schrameck', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Olivier_Schrameck property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P36
Q56061
USER
Which administrative territory is called the capital of France ?
(Q142,P36,c(Q56061))
action filter_type
action find
entity Q142
relation P36
type Q56061
['Q142', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q142 property:P36 ?b . ?b rdf:type ontology:Q56061 }
France
action filter_type
action find
entity France
relation capital
type administrative territorial entity
['France', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:France property:capital ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q142,P36,c(Q56061))
action filter_type
action find
entity Q142
relation P36
type Q56061
Is [ANSWER] is called the capital of France
['Q142', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q142 property:P36 ?b . ?b rdf:type ontology:Q56061 }
Paris
Is Paris is called the capital of France
Paris
action filter_type
action find
entity France
relation capital
type administrative territorial entity
['France', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:France property:capital ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19394836 Q142
P17
Q15617994
USER
Which administrative territories are France or Oorsprongweg present in ?
OR((Q142,P17,c(Q15617994)), (Q19394836,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P17
action find
entity Q19394836
relation P17
type Q15617994
{'OR': [['Q142', 'P17', {'concept': 'Q15617994'}], ['Q19394836', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { ?y property:P17 ?a . VALUES ( ?y ) { ( resource:Q142 ) ( resource:Q19394836 ) } } . ?a rdf:type ontology:Q15617994 }
Oorsprongweg France
action filter_type
action union
action find
entity France
relation country
action find
entity Oorsprongweg
relation country
type designation for an administrative territorial entity
{'OR': [['France', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Oorsprongweg', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?y property:country ?a . VALUES ( ?y ) { ( resource:France ) ( resource:Oorsprongweg ) } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q55
SYSTEM
France, Netherlands
Q142 Q55
OR((Q142,P17,c(Q15617994)), (Q19394836,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P17
action find
entity Q19394836
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q142', 'P17', {'concept': 'Q15617994'}], ['Q19394836', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { ?y property:P17 ?a . VALUES ( ?y ) { ( resource:Q142 ) ( resource:Q19394836 ) } } . ?a rdf:type ontology:Q15617994 }
France Netherlands
Which administrative territories are France or Oorsprongweg present in
France Netherlands
action filter_type
action union
action find
entity France
relation country
action find
entity Oorsprongweg
relation country
type designation for an administrative territorial entity
{'OR': [['France', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Oorsprongweg', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { ?y property:country ?a . VALUES ( ?y ) { ( resource:France ) ( resource:Oorsprongweg ) } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q326707
P27
Q502895
USER
Are Nicolas Vallet a native of those administrative territories ?
(Q326707,P27,Q142) (Q326707,P27,Q55)
action is_in
entity prev_answer
action find
entity Q326707
relation P27
['Q326707', 'P27', 'Q142'] ['Q326707', 'P27', 'Q55']
ASK WHERE { VALUES ( ?y ) { ( resource:Q142 ) ( resource:Q55 ) } . resource:Q326707 property:P27 ?y }
Nicolas Vallet
action is_in
entity prev_answer
action find
entity Nicolas Vallet
relation country of citizenship
['Nicolas Vallet', 'country of citizenship', 'France'] ['Nicolas Vallet', 'country of citizenship', 'Netherlands']
ASK WHERE { VALUES ( ?y ) { ( resource:France ) ( resource:Netherlands ) } . resource:Nicolas_Vallet property:country_of_citizenship ?y }
[]
common name
SYSTEM
YES
(Q326707,P27,Q142) (Q326707,P27,Q55)
action is_in
entity prev_answer
action find
entity Q326707
relation P27
[ANSWER]
['Q326707', 'P27', 'Q142'] ['Q326707', 'P27', 'Q55']
ASK WHERE { VALUES ( ?y ) { ( resource:Q142 ) ( resource:Q55 ) } . resource:Q326707 property:P27 ?y }
Yes
action is_in
entity prev_answer
action find
entity Nicolas Vallet
relation country of citizenship
['Nicolas Vallet', 'country of citizenship', 'France'] ['Nicolas Vallet', 'country of citizenship', 'Netherlands']
ASK WHERE { VALUES ( ?y ) { ( resource:France ) ( resource:Netherlands ) } . resource:Nicolas_Vallet property:country_of_citizenship ?y }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q217
P530
Q1048835 Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with more number of political territories and administrative territories than Republic of Moldova ?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q217
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Q217 property:P530 ?s . { ?s rdf:type ?d . VALUES ( ?d ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?b > ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?b ) WHERE { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?y } }
Republic of Moldova
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Republic of Moldova
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Republic_of_Moldova property:diplomatic_relation ?s . { ?s rdf:type ?d . VALUES ( ?d ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?b > ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?b ) WHERE { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?y } }
[]
political territorial entity designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
90
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q736 Q230 Q233 Q20 Q1041 Q27 Q28 Q843 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1033 Q1030 Q298 Q115 Q114 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q217
relation P530
type Q1048835
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Q217 property:P530 ?s . { ?s rdf:type ?d . VALUES ( ?d ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?b > ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?b ) WHERE { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?y } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Ecuador Georgia Malta Norway Senegal Ireland Hungary Pakistan Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Namibia Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
90
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Republic of Moldova
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { resource:Republic_of_Moldova property:diplomatic_relation ?s . { ?s rdf:type ?d . VALUES ( ?d ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?b > ?j ) . { SELECT DISTINCT ?y ( COUNT ( ?a ) AS ?b ) WHERE { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?y } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q403
P530
Q1048835 Q15617994 Q15617994
USER
And what about Serbia?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q403
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { { ?q property:P530 ?z . ?q rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } UNION { ?q property:P530 ?z . ?q rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q403 property:P530 ?f . { { ?f rdf:type ontology:Q1048835 } UNION { ?f rdf:type ontology:Q15617994 } } } } . FILTER ( ?v > ?g ) }
Serbia
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Serbia
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { { ?q property:diplomatic_relation ?z . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } UNION { ?q property:diplomatic_relation ?z . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Serbia property:diplomatic_relation ?f . { { ?f rdf:type ontology:political_territorial_entity } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?v > ?g ) }
[]
political territorial entity designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
15
Q801 Q805 Q142 Q148 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q17 Q114 Q858 Q953
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action greater
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q403
relation P530
type Q1048835
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { { ?q property:P530 ?z . ?q rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } UNION { ?q property:P530 ?z . ?q rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q403 property:P530 ?f . { { ?f rdf:type ontology:Q1048835 } UNION { ?f rdf:type ontology:Q15617994 } } } } . FILTER ( ?v > ?g ) }
Israel Yemen France People's Republic of China Russia Brazil United States of America Central African Republic Italy Georgia Belarus Japan Kenya Syria Zambia
15
action count
action greater
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Serbia
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?v ) WHERE { { ?q property:diplomatic_relation ?z . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } UNION { ?q property:diplomatic_relation ?z . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Serbia property:diplomatic_relation ?f . { { ?f rdf:type ontology:political_territorial_entity } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?v > ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19394836
P276
Q56061
USER
Where can Oorsprongweg be found ?
(Q19394836,P276,c(Q56061))
action filter_type
action find
entity Q19394836
relation P276
type Q56061
['Q19394836', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q19394836 property:P276 ?w . ?w rdf:type ontology:Q56061 }
Oorsprongweg
action filter_type
action find
entity Oorsprongweg
relation location
type administrative territorial entity
['Oorsprongweg', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Oorsprongweg property:location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1002717
SYSTEM
Schoorl
Q1002717
(Q19394836,P276,c(Q56061))
action filter_type
action find
entity Q19394836
relation P276
type Q56061
Oorsprongweg can be found in [ANSWER]
['Q19394836', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q19394836 property:P276 ?w . ?w rdf:type ontology:Q56061 }
Schoorl
Oorsprongweg can be found in Schoorl
Schoorl
action filter_type
action find
entity Oorsprongweg
relation location
type administrative territorial entity
['Oorsprongweg', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Oorsprongweg property:location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]