Simple Question (Direct)
Simple Question
Q1552264
P21
Q290
USER
What is the sex of Thilo Vogelsang ?
(Q1552264,P21,c(Q290))
action filter_type
action find
entity Q1552264
relation P21
type Q290
['Q1552264', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1552264 property:P21 ?s . ?s rdf:type ontology:Q290 }
Thilo Vogelsang
action filter_type
action find
entity Thilo Vogelsang
relation gender
type sex
['Thilo Vogelsang', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Thilo_Vogelsang property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1552264,P21,c(Q290))
action filter_type
action find
entity Q1552264
relation P21
type Q290
The sex of Thilo Vogelsang is the [ANSWER]
['Q1552264', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1552264 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
The sex of Thilo Vogelsang is the male
male
action filter_type
action find
entity Thilo Vogelsang
relation gender
type sex
['Thilo Vogelsang', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Thilo_Vogelsang property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1552264
P20
Q56061
USER
Where did Thilo Vogelsang expire ?
(Q1552264,P20,c(Q56061))
action filter_type
action find
entity Q1552264
relation P20
type Q56061
['Q1552264', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1552264 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Thilo Vogelsang
action filter_type
action find
entity Thilo Vogelsang
relation place of death
type administrative territorial entity
['Thilo Vogelsang', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Thilo_Vogelsang property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q1552264,P20,c(Q56061))
action filter_type
action find
entity Q1552264
relation P20
type Q56061
Thilo Vogelsang expired [ANSWER]
['Q1552264', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1552264 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Munich
Thilo Vogelsang expired Munich
Munich
action filter_type
action find
entity Thilo Vogelsang
relation place of death
type administrative territorial entity
['Thilo Vogelsang', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Thilo_Vogelsang property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1552264
P19
Q515
USER
Which city was Thilo Vogelsang born in ?
(Q1552264,P19,c(Q515))
action filter_type
action find
entity Q1552264
relation P19
type Q515
['Q1552264', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q1552264 property:P19 ?d . ?d rdf:type ontology:Q515 }
Thilo Vogelsang
action filter_type
action find
entity Thilo Vogelsang
relation place of birth
type city
['Thilo Vogelsang', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Thilo_Vogelsang property:place_of_birth ?d . ?d rdf:type ontology:city }
[]
city
Q2773
SYSTEM
Braunschweig
Q2773
(Q1552264,P19,c(Q515))
action filter_type
action find
entity Q1552264
relation P19
type Q515
Thilo Vogelsang was born in [ANSWER]
['Q1552264', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q1552264 property:P19 ?d . ?d rdf:type ontology:Q515 }
Braunschweig
Thilo Vogelsang was born in Braunschweig
Braunschweig
action filter_type
action find
entity Thilo Vogelsang
relation place of birth
type city
['Thilo Vogelsang', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Thilo_Vogelsang property:place_of_birth ?d . ?d rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q20667921 Q56061
USER
How many french administrative divisions or administrative territories are sister towns of that city ?
(Q2773,P190,c(Q20667921)) (Q2773,P190,c(Q56061)) (Q2773,P190,c(Q20667921)) (Q2773,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q2773
relation P190
type Q20667921
action filter_type
action find
entity Q2773
relation P190
type Q56061
['Q2773', 'P190', {'concept': 'Q20667921'}] ['Q2773', 'P190', {'concept': 'Q56061'}] ['Q2773', 'P190', {'concept': 'Q20667921'}] ['Q2773', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { ?g rdf:type ontology:Q20667921 . resource:Q2773 property:P190 ?g } UNION { resource:Q2773 property:P190 ?g . ?g rdf:type ontology:Q56061 } }
action count
action union
action filter_type
action find
entity Braunschweig
relation sister city
type type of french administrative division
action filter_type
action find
entity Braunschweig
relation sister city
type administrative territorial entity
['Braunschweig', 'sister city', {'concept': 'type of french administrative division'}] ['Braunschweig', 'sister city', {'concept': 'administrative territorial entity'}] ['Braunschweig', 'sister city', {'concept': 'type of french administrative division'}] ['Braunschweig', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { ?g rdf:type ontology:type_of_french_administrative_division . resource:Braunschweig property:sister_city ?g } UNION { resource:Braunschweig property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity } }
[]
type of french administrative division administrative territorial entity
SYSTEM
5
Q22889 Q42807 Q900 Q1733 Q180717
(Q2773,P190,c(Q20667921)) (Q2773,P190,c(Q56061)) (Q2773,P190,c(Q20667921)) (Q2773,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q2773
relation P190
type Q20667921
action filter_type
action find
entity Q2773
relation P190
type Q56061
[ANSWER]
['Q2773', 'P190', {'concept': 'Q20667921'}] ['Q2773', 'P190', {'concept': 'Q56061'}] ['Q2773', 'P190', {'concept': 'Q20667921'}] ['Q2773', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { ?g rdf:type ontology:Q20667921 . resource:Q2773 property:P190 ?g } UNION { resource:Q2773 property:P190 ?g . ?g rdf:type ontology:Q56061 } }
Bath Nîmes Kazan Magdeburg Sousse
5
action count
action union
action filter_type
action find
entity Braunschweig
relation sister city
type type of french administrative division
action filter_type
action find
entity Braunschweig
relation sister city
type administrative territorial entity
['Braunschweig', 'sister city', {'concept': 'type of french administrative division'}] ['Braunschweig', 'sister city', {'concept': 'administrative territorial entity'}] ['Braunschweig', 'sister city', {'concept': 'type of french administrative division'}] ['Braunschweig', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { ?g rdf:type ontology:type_of_french_administrative_division . resource:Braunschweig property:sister_city ?g } UNION { resource:Braunschweig property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q987
P291
Q56061 Q11032 Q21114848
USER
How many administrative territories are the publication regions of more number of newspapers and magazine genres than New Delhi ?
(c(Q11032)|c(Q21114848),P291,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q987
relation P291
type Q11032
type Q21114848
[[{'concept': 'Q11032'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:Q11032 ) ( ontology:Q21114848 ) } . ?w rdf:type ?q } GROUP BY ?m } . FILTER ( ?g > ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P291 resource:Q987 . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q21114848 ) ( ontology:Q11032 ) } } } } }
New Delhi
action count
action greater
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity New Delhi
relation place of publication
type newspaper
type magazine genre
[[{'concept': 'newspaper'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:newspaper ) ( ontology:magazine_genre ) } . ?w rdf:type ?q } GROUP BY ?m } . FILTER ( ?g > ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:place_of_publication resource:New_Delhi . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:magazine_genre ) ( ontology:newspaper ) } } } } }
[]
administrative territorial entity newspaper magazine genre
SYSTEM
78
Q190583 Q3897 Q80670 Q490595 Q3150 Q11974 Q10305 Q8692 Q15688 Q1757 Q1754 Q1022 Q90 Q597 Q6157 Q8818 Q8810 Q1034159 Q103717 Q28911 Q186237 Q180233 Q14328 Q8678 Q15468 Q490 Q6346 Q1679567 Q72 Q16554 Q16555 Q8686 Q994 Q1513 Q35381 Q84 Q40269 Q1741 Q71 Q37100 Q38022 Q270 Q60 Q286048 Q1781 Q33935 Q1861 Q14318 Q14314 Q134620 Q956 Q1492 Q437 Q2807 Q10282 Q8356 Q1726 Q1724 Q8717 Q64 Q207891 Q61 Q683512 Q3889 Q9125 Q126148 Q33405 Q6106 Q10313 Q1295 Q649 Q15696 Q193180 Q47048 Q192155 Q955640 Q8826 Q1085
(c(Q11032)|c(Q21114848),P291,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q987
relation P291
type Q11032
type Q21114848
[ANSWER]
[[{'concept': 'Q11032'}, {'concept': 'Q21114848'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:Q11032 ) ( ontology:Q21114848 ) } . ?w rdf:type ?q } GROUP BY ?m } . FILTER ( ?g > ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P291 resource:Q987 . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q21114848 ) ( ontology:Q11032 ) } } } } }
Mikkeli Luanda Mühlacker Daytona Beach Jena Las Palmas de Gran Canaria Zaragoza Bilbao Ávila Helsinki Stockholm Stuttgart Paris Lisbon Seinäjoki Valencia Granada Harstad Rovaniemi Lahti Joensuu Pori Santa Cruz de Tenerife Rio de Janeiro Badalona Milan Indianapolis Jakobstad Zürich Denver Houston Shanghai Tbilisi Nagpur Colombo London Porto Alegre Vienna Geneva Auckland St. Louis Warsaw New York City New Glasgow, Nova Scotia Budapest Tel Aviv Bangkok Vitoria-Gasteiz Santiago de Compostela Jyväskylä Beijing Barcelona Ljubljana Madrid Pamplona Valladolid Munich Saarbrücken Seville Berlin Kokkola Washington, D.C. Savonlinna Maputo Winterthur Tangier Little Rock Portland Donostia/San Sebastián Dortmund Moscow Zamora Kajaani Oulu Kotka Glasgow Palma Prague
78
action count
action greater
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action count
action filter_multi_types
action find_reverse
entity New Delhi
relation place of publication
type newspaper
type magazine genre
[[{'concept': 'newspaper'}, {'concept': 'magazine genre'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:newspaper ) ( ontology:magazine_genre ) } . ?w rdf:type ?q } GROUP BY ?m } . FILTER ( ?g > ?a ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:place_of_publication resource:New_Delhi . { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:magazine_genre ) ( ontology:newspaper ) } } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q550949 Q1552264
P47 P27
Q1048835
USER
Which political territories are the native countriesof Thilo Vogelsang or have a shared border with Alpujarra de la Sierra ?
OR((Q1552264,P27,c(Q1048835)), (Q550949,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1552264
relation P27
action find
entity Q550949
relation P47
type Q1048835
{'OR': [['Q1552264', 'P27', {'concept': 'Q1048835'}], ['Q550949', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1552264 property:P27 ?w } UNION { resource:Q550949 property:P47 ?w } } . ?w rdf:type ontology:Q1048835 }
Alpujarra de la Sierra Thilo Vogelsang
action filter_type
action union
action find
entity Thilo Vogelsang
relation country of citizenship
action find
entity Alpujarra de la Sierra
relation shares border with
type political territorial entity
{'OR': [['Thilo Vogelsang', 'country of citizenship', {'concept': 'political territorial entity'}], ['Alpujarra de la Sierra', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Thilo_Vogelsang property:country_of_citizenship ?w } UNION { resource:Alpujarra_de_la_Sierra property:shares_border_with ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q545852 Q618386 Q554489 Q183 Q581165 Q554275
SYSTEM
Ugíjar, Válor, Cádiar, Germany, Lanteira, Bérchules
Q545852 Q618386 Q554489 Q183 Q581165 Q554275
OR((Q1552264,P27,c(Q1048835)), (Q550949,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1552264
relation P27
action find
entity Q550949
relation P47
type Q1048835
[ANSWERS] are the native countriesof Thilo Vogelsang or have a shared border with Alpujarra de la Sierra
{'OR': [['Q1552264', 'P27', {'concept': 'Q1048835'}], ['Q550949', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q1552264 property:P27 ?w } UNION { resource:Q550949 property:P47 ?w } } . ?w rdf:type ontology:Q1048835 }
Ugíjar Válor Cádiar Germany Lanteira Bérchules
Ugíjar, Válor, Cádiar, Germany, Lanteira and Bérchules are the native countriesof Thilo Vogelsang or have a shared border with Alpujarra de la Sierra
Ugíjar Válor Cádiar Germany Lanteira Bérchules
action filter_type
action union
action find
entity Thilo Vogelsang
relation country of citizenship
action find
entity Alpujarra de la Sierra
relation shares border with
type political territorial entity
{'OR': [['Thilo Vogelsang', 'country of citizenship', {'concept': 'political territorial entity'}], ['Alpujarra de la Sierra', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Thilo_Vogelsang property:country_of_citizenship ?w } UNION { resource:Alpujarra_de_la_Sierra property:shares_border_with ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q545852 Q618386 Q554489 Q183 Q581165 Q554275
P1001
Q12737077
USER
Which occupations have jurisdiction over Ugíjar, Válor, Cádiar, Germany, Lanteira and Bérchules ?
(c(Q12737077),P1001,Q545852) (c(Q12737077),P1001,Q618386) (c(Q12737077),P1001,Q554489) (c(Q12737077),P1001,Q183) (c(Q12737077),P1001,Q581165) (c(Q12737077),P1001,Q554275)
action union
action filter_type
action find_reverse
entity Q545852
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q618386
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q554489
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q183
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q581165
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q554275
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q545852'] [{'concept': 'Q12737077'}, 'P1001', 'Q618386'] [{'concept': 'Q12737077'}, 'P1001', 'Q554489'] [{'concept': 'Q12737077'}, 'P1001', 'Q183'] [{'concept': 'Q12737077'}, 'P1001', 'Q581165'] [{'concept': 'Q12737077'}, 'P1001', 'Q554275']
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:Q12737077 . ?m property:P1001 resource:Q618386 } UNION { ?m property:P1001 resource:Q545852 . ?m rdf:type ontology:Q12737077 } }
Ugíjar Válor Cádiar Germany Lanteira Bérchules
action union
action filter_type
action find_reverse
entity Ugíjar
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Válor
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Cádiar
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Lanteira
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Bérchules
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Ugíjar'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Válor'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Cádiar'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Lanteira'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Bérchules']
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:occupation . ?m property:applies_to_jurisdiction resource:Válor } UNION { ?m property:applies_to_jurisdiction resource:Ugíjar . ?m rdf:type ontology:occupation } }
[]
occupation
Q22575628 Q22575092 Q4970706
SYSTEM
Federal Minister of the Interior, Federal Minister of Finance, Federal Chancellor of Germany
Q26698543 Q26699200 Q26698604 Q22575628 Q363637 Q19731005 Q2006176 Q22575092 Q23016036 Q1939559 Q1939555 Q248352 Q518564 Q4970706 Q25223 Q56024 Q56022 Q2325058 Q504272 Q514725 Q1005821 Q26698785 Q26698600
(c(Q12737077),P1001,Q545852) (c(Q12737077),P1001,Q618386) (c(Q12737077),P1001,Q554489) (c(Q12737077),P1001,Q183) (c(Q12737077),P1001,Q581165) (c(Q12737077),P1001,Q554275)
action union
action filter_type
action find_reverse
entity Q545852
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q618386
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q554489
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q183
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q581165
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q554275
relation P1001
type Q12737077
[ANSWERS] have jurisdiction over Ugíjar, Válor, Cádiar, Germany, Lanteira and Bérchules
[{'concept': 'Q12737077'}, 'P1001', 'Q545852'] [{'concept': 'Q12737077'}, 'P1001', 'Q618386'] [{'concept': 'Q12737077'}, 'P1001', 'Q554489'] [{'concept': 'Q12737077'}, 'P1001', 'Q183'] [{'concept': 'Q12737077'}, 'P1001', 'Q581165'] [{'concept': 'Q12737077'}, 'P1001', 'Q554275']
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:Q12737077 . ?m property:P1001 resource:Q618386 } UNION { ?m property:P1001 resource:Q545852 . ?m rdf:type ontology:Q12737077 } }
mayor of Ugíjar mayor of Válor mayor of Cádiar Federal Minister of the Interior President of the Bundesrat of Germany Parliamentary Secretary in Germany Minister for Foreign Affairs Federal Minister of Finance Minister of Defence Member of Landtag member of the German Bundestag Bundesminister Federal Minister for Special Affairs of Germany Federal Chancellor of Germany President of Germany President of the Bundestag Chancellor of Germany German Minister of State Vice-Chancellor of Germany Landrat Federal Commissioner for Data Protection and Freedom of Information mayor of Lanteira mayor of Bérchules
Federal Minister of the Interior, Federal Minister of Finance and Federal Chancellor of Germany have jurisdiction over Ugíjar, Válor, Cádiar, Germany, Lanteira and Bérchules
Federal Minister of the Interior Federal Minister of Finance Federal Chancellor of Germany
action union
action filter_type
action find_reverse
entity Ugíjar
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Válor
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Cádiar
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Lanteira
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Bérchules
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Ugíjar'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Válor'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Cádiar'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Lanteira'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Bérchules']
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:occupation . ?m property:applies_to_jurisdiction resource:Válor } UNION { ?m property:applies_to_jurisdiction resource:Ugíjar . ?m rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P361
Q2221906
USER
Which geographic locations are Germany a component of ?
(Q183,P361,c(Q2221906))
action filter_type
action find
entity Q183
relation P361
type Q2221906
['Q183', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2221906 . resource:Q183 property:P361 ?r }
Germany
action filter_type
action find
entity Germany
relation part of
type geographic location
['Germany', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:geographic_location . resource:Germany property:part_of ?r }
[]
geographic location
Q46 Q27509
SYSTEM
Europe, Central Europe
Q46 Q27509
(Q183,P361,c(Q2221906))
action filter_type
action find
entity Q183
relation P361
type Q2221906
[ANSWERS]
['Q183', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2221906 . resource:Q183 property:P361 ?r }
Europe Central Europe
Which geographic locations are Germany a component of
Europe Central Europe
action filter_type
action find
entity Germany
relation part of
type geographic location
['Germany', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:geographic_location . resource:Germany property:part_of ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4857474
Q2221906
USER
And how about Baosbheinn?
(Q4857474,P361,c(Q2221906))
action filter_type
action find
entity Q4857474
relation P361
type Q2221906
['Q4857474', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q4857474 property:P361 ?l . ?l rdf:type ontology:Q2221906 }
Baosbheinn
action filter_type
action find
entity Baosbheinn
relation part of
type geographic location
['Baosbheinn', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Baosbheinn property:part_of ?l . ?l rdf:type ontology:geographic_location }
[]
geographic location
Q1084560
SYSTEM
Northwest Highlands
Q1084560
(Q4857474,P361,c(Q2221906))
action filter_type
action find
entity Q4857474
relation P361
type Q2221906
[ANSWER]
['Q4857474', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q4857474 property:P361 ?l . ?l rdf:type ontology:Q2221906 }
Northwest Highlands
Northwest Highlands
action filter_type
action find
entity Baosbheinn
relation part of
type geographic location
['Baosbheinn', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Baosbheinn property:part_of ?l . ?l rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1084560 Q257823
P17
Q15617994
USER
Is Northwest Highlands a part of Oberviechtach ?
(Q1084560,P17,Q257823)
action is_in
entity Q257823
action find
entity Q1084560
relation P17
['Q1084560', 'P17', 'Q257823']
ASK WHERE { resource:Q1084560 property:P17 resource:Q257823 }
Northwest Highlands Oberviechtach
action is_in
entity Oberviechtach
action find
entity Northwest Highlands
relation country
['Northwest Highlands', 'country', 'Oberviechtach']
ASK WHERE { resource:Northwest_Highlands property:country resource:Oberviechtach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1084560,P17,Q257823)
action is_in
entity Q257823
action find
entity Q1084560
relation P17
[ANSWER]
['Q1084560', 'P17', 'Q257823']
ASK WHERE { resource:Q1084560 property:P17 resource:Q257823 }
No
action is_in
entity Oberviechtach
action find
entity Northwest Highlands
relation country
['Northwest Highlands', 'country', 'Oberviechtach']
ASK WHERE { resource:Northwest_Highlands property:country resource:Oberviechtach }
[]