Simple Question (Direct)
Simple Question
Q5699940
P184
Q502895
USER
Which person was the doctoral superviser of Heinrich August Rothe ?
(Q5699940,P184,c(Q502895))
action filter_type
action find
entity Q5699940
relation P184
type Q502895
['Q5699940', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5699940 property:P184 ?o . ?o rdf:type ontology:Q502895 }
Heinrich August Rothe
action filter_type
action find
entity Heinrich August Rothe
relation doctoral advisor
type common name
['Heinrich August Rothe', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Heinrich_August_Rothe property:doctoral_advisor ?o . ?o rdf:type ontology:common_name }
[]
common name
Q65720
SYSTEM
Carl Hindenburg
Q65720
(Q5699940,P184,c(Q502895))
action filter_type
action find
entity Q5699940
relation P184
type Q502895
[ANSWER] was the doctoral superviser of Heinrich August Rothe
['Q5699940', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5699940 property:P184 ?o . ?o rdf:type ontology:Q502895 }
Carl Hindenburg
Carl Hindenburg was the doctoral superviser of Heinrich August Rothe
Carl Hindenburg
action filter_type
action find
entity Heinrich August Rothe
relation doctoral advisor
type common name
['Heinrich August Rothe', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Heinrich_August_Rothe property:doctoral_advisor ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5699940
P138
Q2684591
USER
Which statement has Heinrich August Rothe as its namesake ?
(c(Q2684591),P138,Q5699940)
action filter_type
action find_reverse
entity Q5699940
relation P138
type Q2684591
[{'concept': 'Q2684591'}, 'P138', 'Q5699940']
SELECT DISTINCT ?u WHERE { ?u property:P138 resource:Q5699940 . ?u rdf:type ontology:Q2684591 }
Heinrich August Rothe
action filter_type
action find_reverse
entity Heinrich August Rothe
relation named after
type statement
[{'concept': 'statement'}, 'named after', 'Heinrich August Rothe']
SELECT DISTINCT ?u WHERE { ?u property:named_after resource:Heinrich_August_Rothe . ?u rdf:type ontology:statement }
[]
statement
Q7370472
SYSTEM
Rothe–Hagen identity
Q7370472
(c(Q2684591),P138,Q5699940)
action filter_type
action find_reverse
entity Q5699940
relation P138
type Q2684591
[ANSWER] has Heinrich August Rothe as its namesake
[{'concept': 'Q2684591'}, 'P138', 'Q5699940']
SELECT DISTINCT ?u WHERE { ?u property:P138 resource:Q5699940 . ?u rdf:type ontology:Q2684591 }
Rothe–Hagen identity
Rothe–Hagen identity has Heinrich August Rothe as its namesake
Rothe–Hagen identity
action filter_type
action find_reverse
entity Heinrich August Rothe
relation named after
type statement
[{'concept': 'statement'}, 'named after', 'Heinrich August Rothe']
SELECT DISTINCT ?u WHERE { ?u property:named_after resource:Heinrich_August_Rothe . ?u rdf:type ontology:statement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5699940
P19
Q515
USER
Which city was Heinrich August Rothe born in ?
(Q5699940,P19,c(Q515))
action filter_type
action find
entity Q5699940
relation P19
type Q515
['Q5699940', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q5699940 property:P19 ?h . ?h rdf:type ontology:Q515 }
Heinrich August Rothe
action filter_type
action find
entity Heinrich August Rothe
relation place of birth
type city
['Heinrich August Rothe', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Heinrich_August_Rothe property:place_of_birth ?h . ?h rdf:type ontology:city }
[]
city
Q1731
SYSTEM
Dresden
Q1731
(Q5699940,P19,c(Q515))
action filter_type
action find
entity Q5699940
relation P19
type Q515
Heinrich August Rothe was born in [ANSWER]
['Q5699940', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q5699940 property:P19 ?h . ?h rdf:type ontology:Q515 }
Dresden
Heinrich August Rothe was born in Dresden
Dresden
action filter_type
action find
entity Heinrich August Rothe
relation place of birth
type city
['Heinrich August Rothe', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Heinrich_August_Rothe property:place_of_birth ?h . ?h rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1379068
Q515
USER
And how about Eva-Maria Neher?
(Q1379068,P19,c(Q515))
action filter_type
action find
entity Q1379068
relation P19
type Q515
['Q1379068', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q1379068 property:P19 ?u . ?u rdf:type ontology:Q515 }
Eva-Maria Neher
action filter_type
action find
entity Eva-Maria Neher
relation place of birth
type city
['Eva-Maria Neher', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Eva-Maria_Neher property:place_of_birth ?u . ?u rdf:type ontology:city }
[]
city
Q151993
SYSTEM
Ruhr
Q151993
(Q1379068,P19,c(Q515))
action filter_type
action find
entity Q1379068
relation P19
type Q515
[ANSWER]
['Q1379068', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q1379068 property:P19 ?u . ?u rdf:type ontology:Q515 }
Ruhr
Ruhr
action filter_type
action find
entity Eva-Maria Neher
relation place of birth
type city
['Eva-Maria Neher', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Eva-Maria_Neher property:place_of_birth ?u . ?u rdf:type ontology:city }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P740
Q515 Q215380 Q2088357
USER
How many cities did lesser number of bands and musical ensembles orginate than that city ?
(c(Q215380)|c(Q2088357),P740,c(Q515))
action count
action less
action union
action find_reverse_tuple_counts
relation P740
type Q515
type Q215380
action find_reverse_tuple_counts
relation P740
type Q515
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q151993
relation P740
type Q215380
type Q2088357
[[{'concept': 'Q215380'}, {'concept': 'Q2088357'}], 'P740', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?l WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:Q215380 ) ( ontology:Q2088357 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:P740 resource:Q151993 . { VALUES ( ?r ) { ( ontology:Q2088357 ) ( ontology:Q215380 ) } . ?s rdf:type ?r } } } . FILTER ( ?c < ?z ) }
action count
action less
action union
action find_reverse_tuple_counts
relation location of formation
type city
type band
action find_reverse_tuple_counts
relation location of formation
type city
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Ruhr
relation location of formation
type band
type musical ensemble
[[{'concept': 'band'}, {'concept': 'musical ensemble'}], 'location of formation', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?l WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:band ) ( ontology:musical_ensemble ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:location_of_formation resource:Ruhr . { VALUES ( ?r ) { ( ontology:musical_ensemble ) ( ontology:band ) } . ?s rdf:type ?r } } } . FILTER ( ?c < ?z ) }
[]
city band musical ensemble
SYSTEM
108
Q208863 Q1789604 Q75203 Q3075 Q533241 Q873546 Q3974 Q9085 Q1019844 Q820496 Q3185 Q2966 Q849439 Q359990 Q496472 Q1000060 Q719 Q646755 Q3572 Q873553 Q2865 Q10396 Q609350 Q664895 Q59223 Q459787 Q2973 Q209785 Q58273 Q171943 Q117676 Q1473 Q838652 Q386635 Q194087 Q242885 Q52607 Q3955 Q875070 Q20921 Q1856 Q2795 Q235 Q488134 Q1009095 Q7070 Q167668 Q1519 Q271000 Q20934 Q269634 Q489147 Q174091 Q163888 Q210628 Q4174 Q386651 Q38968 Q1826 Q317834 Q41278 Q3751 Q749283 Q1508 Q3994 Q3126 Q14182 Q1624 Q3042 Q157835 Q6807568 Q328619 Q2749 Q43433 Q2100 Q66485 Q1530 Q505208 Q1731 Q374477 Q468765 Q1844 Q57931 Q3692 Q7786 Q386677 Q2900 Q3919 Q838684 Q58584 Q14821 Q11194 Q63145 Q485583 Q3069 Q79535 Q1720 Q1721 Q725168 Q517407 Q946789 Q665097 Q2910 Q174461 Q3861 Q207309 Q825166 Q2844
(c(Q215380)|c(Q2088357),P740,c(Q515))
action count
action less
action union
action find_reverse_tuple_counts
relation P740
type Q515
type Q215380
action find_reverse_tuple_counts
relation P740
type Q515
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q151993
relation P740
type Q215380
type Q2088357
[ANSWER]
[[{'concept': 'Q215380'}, {'concept': 'Q2088357'}], 'P740', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?l WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:Q215380 ) ( ontology:Q2088357 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:P740 resource:Q151993 . { VALUES ( ?r ) { ( ontology:Q2088357 ) ( ontology:Q215380 ) } . ?s rdf:type ?r } } } . FILTER ( ?c < ?z ) }
Hachiōji City Krnov Liaoyang Fürth Shimotsuma Yoshikawa Landshut Mandaluyong Přimda Kōnan Hildesheim Heidelberg Kopřivnice Wuhu Kuwana Humpolec Saginaw Tateyama Tunis Izumiōtsu Kassel Depok Kawanishi Uherský Brod Zhongshan Iloilo City Darmstadt Ichikawa Taizhou Nanchang Viseu Davao City Nakano Hikone Hirosaki Mitaka City Mar del Plata Weimar Dagupan Daejeon Malaybalay Chemnitz Monaco Ontario Otrokovice Eisenach Liepāja Abu Dhabi Bouaké Incheon Tachikawa City Schmalkalden Changsha Ageo Machida City Emden Iwata Liuzhou Tagbilaran Kokubunji City Ulsan Praia San Juan Makati Kempten Erlangen Banjarmasin Pasig Offenbach am Main Zaporizhzhya Emmen Noda Augsburg Chandigarh Duisburg Jaipur Baghdad Ouarzazate Dresden Ashikaga Ube Vaduz Taizhou Riyadh Pekanbaru Kusatsu, Shiga Quito Gaborone Komagane Baoding Coburg Sarajevo Imus Anan Bottrop Fort Smith Mainz Wiesbaden Tagum Sondershausen Luby Minoh Ludwigshafen Ranchi Doha Tokushima Izumo Brasília
108
action count
action less
action union
action find_reverse_tuple_counts
relation location of formation
type city
type band
action find_reverse_tuple_counts
relation location of formation
type city
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Ruhr
relation location of formation
type band
type musical ensemble
[[{'concept': 'band'}, {'concept': 'musical ensemble'}], 'location of formation', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?l WHERE { ?k rdf:type ?a . VALUES ( ?a ) { ( ontology:band ) ( ontology:musical_ensemble ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:location_of_formation resource:Ruhr . { VALUES ( ?r ) { ( ontology:musical_ensemble ) ( ontology:band ) } . ?s rdf:type ?r } } } . FILTER ( ?c < ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q151993
P706
Q56061
USER
Which administrative territories are located in Ruhr ?
(c(Q56061),P706,Q151993)
action filter_type
action find_reverse
entity Q151993
relation P706
type Q56061
[{'concept': 'Q56061'}, 'P706', 'Q151993']
SELECT DISTINCT ?n WHERE { ?n property:P706 resource:Q151993 . ?n rdf:type ontology:Q56061 }
Ruhr
action filter_type
action find_reverse
entity Ruhr
relation located on terrain feature
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'located on terrain feature', 'Ruhr']
SELECT DISTINCT ?n WHERE { ?n property:located_on_terrain_feature resource:Ruhr . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3764 Q2103 Q1295
SYSTEM
Witten, Bochum, Dortmund
Q3764 Q2103 Q1295
(c(Q56061),P706,Q151993)
action filter_type
action find_reverse
entity Q151993
relation P706
type Q56061
Are [ANSWERS] are located in Ruhr
[{'concept': 'Q56061'}, 'P706', 'Q151993']
SELECT DISTINCT ?n WHERE { ?n property:P706 resource:Q151993 . ?n rdf:type ontology:Q56061 }
Witten Bochum Dortmund
Are Witten, Bochum and Dortmund are located in Ruhr
Witten Bochum Dortmund
action filter_type
action find_reverse
entity Ruhr
relation located on terrain feature
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'located on terrain feature', 'Ruhr']
SELECT DISTINCT ?n WHERE { ?n property:located_on_terrain_feature resource:Ruhr . ?n rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3764
P17
Q1048835
USER
Which political territory is that administrative territory a part of ?
(Q3764,P17,c(Q1048835))
action filter_type
action find
entity Q3764
relation P17
type Q1048835
['Q3764', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q3764 property:P17 ?l . ?l rdf:type ontology:Q1048835 }
Witten
action filter_type
action find
entity Witten
relation country
type political territorial entity
['Witten', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Witten property:country ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q1295
SYSTEM
Did you mean Dortmund ?
Q3764 Q2103 Q1295
(Q3764,P17,c(Q1048835)) (Q2103,P17,c(Q1048835)) (Q1295,P17,c(Q1048835))
[ANSWER]
['Q3764', 'P17', {'concept': 'Q1048835'}] ['Q2103', 'P17', {'concept': 'Q1048835'}] ['Q1295', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q3764 property:P17 ?l . ?l rdf:type ontology:Q1048835 }
Witten Bochum Dortmund
Did you mean Dortmund ?
Dortmund
['Witten', 'country', {'concept': 'political territorial entity'}] ['Bochum', 'country', {'concept': 'political territorial entity'}] ['Dortmund', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Witten property:country ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Witten. Could you tell me the answer for that?
(Q3764,P17,c(Q1048835))
Q3764
['Q3764', 'P17', {'concept': 'Q1048835'}]
['Witten', 'country', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q3764,P17,c(Q1048835))
action filter_type
action find
entity Q3764
relation P17
type Q1048835
[ANSWER] is that administrative territory a part of
['Q3764', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q3764 property:P17 ?l . ?l rdf:type ontology:Q1048835 }
Germany
Germany is that administrative territory a part of
Germany
action filter_type
action find
entity Witten
relation country
type political territorial entity
['Witten', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Witten property:country ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P463
Q93288 Q56061
USER
How many contracts and administrative territories were Germany a member of ?
(Q183,P463,c(Q93288)) (Q183,P463,c(Q56061))
action count
action union
action filter_type
action find
entity Q183
relation P463
type Q93288
action filter_type
action find
entity Q183
relation P463
type Q56061
['Q183', 'P463', {'concept': 'Q93288'}] ['Q183', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:Q93288 ) ( ontology:Q56061 ) } }
Germany
action count
action union
action filter_type
action find
entity Germany
relation member of
type contract
action filter_type
action find
entity Germany
relation member of
type administrative territorial entity
['Germany', 'member of', {'concept': 'contract'}] ['Germany', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:contract ) ( ontology:administrative_territorial_entity ) } }
[]
contract administrative territorial entity
SYSTEM
2 contracts and 1 administrative territories
Q194284 Q1067802 Q458
(Q183,P463,c(Q93288)) (Q183,P463,c(Q56061))
action count
action union
action filter_type
action find
entity Q183
relation P463
type Q93288
action filter_type
action find
entity Q183
relation P463
type Q56061
[ANSWER]
['Q183', 'P463', {'concept': 'Q93288'}] ['Q183', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:Q93288 ) ( ontology:Q56061 ) } }
General Agreement on Tariffs and Trade Paris Charter European Union
2 contracts and 1 administrative territories
action count
action union
action filter_type
action find
entity Germany
relation member of
type contract
action filter_type
action find
entity Germany
relation member of
type administrative territorial entity
['Germany', 'member of', {'concept': 'contract'}] ['Germany', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:contract ) ( ontology:administrative_territorial_entity ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7691484 Q151993
P17
Q1048835
USER
Which political territories are Ruhr or Team FOG Næstved present in ?
OR((Q151993,P17,c(Q1048835)), (Q7691484,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q151993
relation P17
action find
entity Q7691484
relation P17
type Q1048835
{'OR': [['Q151993', 'P17', {'concept': 'Q1048835'}], ['Q7691484', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?x ) { ( resource:Q7691484 ) ( resource:Q151993 ) } . ?x property:P17 ?y } . ?y rdf:type ontology:Q1048835 }
Team FOG Næstved Ruhr
action filter_type
action union
action find
entity Ruhr
relation country
action find
entity Team FOG Næstved
relation country
type political territorial entity
{'OR': [['Ruhr', 'country', {'concept': 'political territorial entity'}], ['Team FOG Næstved', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?x ) { ( resource:Team_FOG_Næstved ) ( resource:Ruhr ) } . ?x property:country ?y } . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q35
SYSTEM
Germany, Denmark
Q183 Q35
OR((Q151993,P17,c(Q1048835)), (Q7691484,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q151993
relation P17
action find
entity Q7691484
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q151993', 'P17', {'concept': 'Q1048835'}], ['Q7691484', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?x ) { ( resource:Q7691484 ) ( resource:Q151993 ) } . ?x property:P17 ?y } . ?y rdf:type ontology:Q1048835 }
Germany Denmark
Which political territories are Ruhr or Team FOG Næstved present in
Germany Denmark
action filter_type
action union
action find
entity Ruhr
relation country
action find
entity Team FOG Næstved
relation country
type political territorial entity
{'OR': [['Ruhr', 'country', {'concept': 'political territorial entity'}], ['Team FOG Næstved', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?x ) { ( resource:Team_FOG_Næstved ) ( resource:Ruhr ) } . ?x property:country ?y } . ?y rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q10294839
P27
Q502895
USER
Are Henrique Serrano a citizen of those political territories ?
(Q10294839,P27,Q183) (Q10294839,P27,Q35)
action is_in
entity prev_answer
action find
entity Q10294839
relation P27
['Q10294839', 'P27', 'Q183'] ['Q10294839', 'P27', 'Q35']
ASK WHERE { VALUES ( ?e ) { ( resource:Q183 ) ( resource:Q35 ) } . resource:Q10294839 property:P27 ?e }
Henrique Serrano
action is_in
entity prev_answer
action find
entity Henrique Serrano
relation country of citizenship
['Henrique Serrano', 'country of citizenship', 'Germany'] ['Henrique Serrano', 'country of citizenship', 'Denmark']
ASK WHERE { VALUES ( ?e ) { ( resource:Germany ) ( resource:Denmark ) } . resource:Henrique_Serrano property:country_of_citizenship ?e }
[]
common name
SYSTEM
NO
(Q10294839,P27,Q183) (Q10294839,P27,Q35)
action is_in
entity prev_answer
action find
entity Q10294839
relation P27
[ANSWER]
['Q10294839', 'P27', 'Q183'] ['Q10294839', 'P27', 'Q35']
ASK WHERE { VALUES ( ?e ) { ( resource:Q183 ) ( resource:Q35 ) } . resource:Q10294839 property:P27 ?e }
No
action is_in
entity prev_answer
action find
entity Henrique Serrano
relation country of citizenship
['Henrique Serrano', 'country of citizenship', 'Germany'] ['Henrique Serrano', 'country of citizenship', 'Denmark']
ASK WHERE { VALUES ( ?e ) { ( resource:Germany ) ( resource:Denmark ) } . resource:Henrique_Serrano property:country_of_citizenship ?e }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q10294839
Q15617994
USER
And which administrative territory?
(Q10294839,P27,c(Q15617994))
action filter_type
action find
entity Q10294839
relation P27
type Q15617994
['Q10294839', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q10294839 property:P27 ?e }
Henrique Serrano
action filter_type
action find
entity Henrique Serrano
relation country of citizenship
type designation for an administrative territorial entity
['Henrique Serrano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Henrique_Serrano property:country_of_citizenship ?e }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q10294839,P27,c(Q15617994))
action filter_type
action find
entity Q10294839
relation P27
type Q15617994
[ANSWER]
['Q10294839', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q10294839 property:P27 ?e }
Brazil
Brazil
action filter_type
action find
entity Henrique Serrano
relation country of citizenship
type designation for an administrative territorial entity
['Henrique Serrano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Henrique_Serrano property:country_of_citizenship ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q35
P276
Q1190554 Q82794
USER
How many events and geographic regions are located at Denmark ?
(c(Q1190554),P276,Q35) (c(Q82794),P276,Q35)
action count
action union
action filter_type
action find_reverse
entity Q35
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q35
relation P276
type Q82794
[{'concept': 'Q1190554'}, 'P276', 'Q35'] [{'concept': 'Q82794'}, 'P276', 'Q35']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { ?c property:P276 resource:Q35 . ?c rdf:type ontology:Q82794 } UNION { ?c rdf:type ontology:Q1190554 . ?c property:P276 resource:Q35 } }
Denmark
action count
action union
action filter_type
action find_reverse
entity Denmark
relation location
type event
action filter_type
action find_reverse
entity Denmark
relation location
type geographic region
[{'concept': 'event'}, 'location', 'Denmark'] [{'concept': 'geographic region'}, 'location', 'Denmark']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { ?c property:location resource:Denmark . ?c rdf:type ontology:geographic_region } UNION { ?c rdf:type ontology:event . ?c property:location resource:Denmark } }
[]
event geographic region
SYSTEM
1 events and 1 geographic regions
Q24528168 Q2308186
(c(Q1190554),P276,Q35) (c(Q82794),P276,Q35)
action count
action union
action filter_type
action find_reverse
entity Q35
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q35
relation P276
type Q82794
[ANSWER]
[{'concept': 'Q1190554'}, 'P276', 'Q35'] [{'concept': 'Q82794'}, 'P276', 'Q35']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { ?c property:P276 resource:Q35 . ?c rdf:type ontology:Q82794 } UNION { ?c rdf:type ontology:Q1190554 . ?c property:P276 resource:Q35 } }
Viking Age Denmark German invasion of Denmark
1 events and 1 geographic regions
action count
action union
action filter_type
action find_reverse
entity Denmark
relation location
type event
action filter_type
action find_reverse
entity Denmark
relation location
type geographic region
[{'concept': 'event'}, 'location', 'Denmark'] [{'concept': 'geographic region'}, 'location', 'Denmark']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { ?c property:location resource:Denmark . ?c rdf:type ontology:geographic_region } UNION { ?c rdf:type ontology:event . ?c property:location resource:Denmark } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q155
P840
Q166142 Q571
USER
How many applications or books have their setting located at Brazil ?
(c(Q166142),P840,Q155) (c(Q571),P840,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P840
type Q166142
action filter_type
action find_reverse
entity Q155
relation P840
type Q571
[{'concept': 'Q166142'}, 'P840', 'Q155'] [{'concept': 'Q571'}, 'P840', 'Q155']
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { ?n rdf:type ontology:Q166142 . ?n property:P840 resource:Q155 } UNION { ?n property:P840 resource:Q155 . ?n rdf:type ontology:Q571 } }
Brazil
action count
action union
action filter_type
action find_reverse
entity Brazil
relation narrative location
type application
action filter_type
action find_reverse
entity Brazil
relation narrative location
type book
[{'concept': 'application'}, 'narrative location', 'Brazil'] [{'concept': 'book'}, 'narrative location', 'Brazil']
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { ?n rdf:type ontology:application . ?n property:narrative_location resource:Brazil } UNION { ?n property:narrative_location resource:Brazil . ?n rdf:type ontology:book } }
[]
application book
SYSTEM
72
Q1780344 Q914286 Q2712291 Q7279682 Q843124 Q729162 Q1168322 Q2538744 Q3874948 Q2370489 Q3285262 Q5230754 Q14350274 Q3318931 Q1463730 Q40166 Q1775040 Q2732474 Q8068420 Q8068426 Q8068424 Q1428744 Q486351 Q372493 Q4045031 Q5512049 Q8068423 Q14391653 Q15621213 Q1313322 Q2312441 Q6917951 Q5237049 Q20730405 Q2569492 Q3268560 Q7246721 Q2733995 Q13423675 Q2947434 Q2418753 Q672049 Q1133204 Q1050143 Q1750390 Q4658471 Q15215500 Q3283304 Q2734059 Q633046 Q736040 Q593572 Q2605819 Q16671192 Q1328570 Q3894893 Q7993400 Q3748349 Q918061 Q1329384 Q12147068 Q5424173 Q1441478 Q2362506 Q2758716 Q899188 Q254255 Q4414741 Q137977 Q22679831 Q779227 Q254090
(c(Q166142),P840,Q155) (c(Q571),P840,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P840
type Q166142
action filter_type
action find_reverse
entity Q155
relation P840
type Q571
[ANSWER]
[{'concept': 'Q166142'}, 'P840', 'Q155'] [{'concept': 'Q571'}, 'P840', 'Q155']
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { ?n rdf:type ontology:Q166142 . ?n property:P840 resource:Q155 } UNION { ?n property:P840 resource:Q155 . ?n rdf:type ontology:Q571 } }
Strider Street Fighter IV FIFA Soccer 95 Racing Hero Tom Clancy's H.A.W.X Alias EA Sports F1 2001 F1 2009 NetKar Pro Tom Clancy's Rainbow Six: Shadow Vanguard Gangstar Rio: City of Saints Street Fighter III: 3rd Strike F1 2013 Shadowrun Tony Hawk's Pro Skater 3 Assassin's Creed III Formula 1 97 Virtua Tennis: World Tour Zeebo Extreme Zeebo Extreme Rolimã Zeebo Extreme Corrida Aérea Flight of the Amazon Queen Call of Duty: Modern Warfare 2 Endless Ocean 2: Adventures of the Deep Michael Andretti's World GP G.I. Joe Zeebo Extreme Baja EA Sports UFC 2014 FIFA World Cup Brazil Need for Speed: Nitro Virtua Tennis 2009 MotoGP 4 Raven Squad: Operation Hidden Dagger Mario & Sonic at the Rio 2016 Olympic Games Rock Band 2 SOCOM II: U.S. Navy SEALs Pro Evolution Soccer 2014 Grand Prix 2 Tekken Revolution Maru's Mission Formula 1 Tekken Tag Tournament 2 Street Fighter II: The World Warrior Angry Birds Rio Formula One 99 A New Beginning Sítio do Picapau Amarelo Formula 1 98 Top Spin 3 Command & Conquer 3: Tiberium Wars Max Payne 3 Formula One Championship Edition Formula One 06 Pro Evolution Soccer 2015 International Karate Papo & Yo Where in the World Is Carmen Sandiego? Formula One 2001 F1 2010 Race – The Official WTCC Game Call of Duty: Ghosts F1 Race Stars Tom Clancy's Rainbow Six 3: Raven Shield F1 2012 Driver 2 Command & Conquer 3: Kane's Wrath IRacing.com Race Pro FIFA 13 Voyages en Afrique, Asie, Indes orientales et occidentales FIFA Street 3 F1 2011
72
action count
action union
action filter_type
action find_reverse
entity Brazil
relation narrative location
type application
action filter_type
action find_reverse
entity Brazil
relation narrative location
type book
[{'concept': 'application'}, 'narrative location', 'Brazil'] [{'concept': 'book'}, 'narrative location', 'Brazil']
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { ?n rdf:type ontology:application . ?n property:narrative_location resource:Brazil } UNION { ?n property:narrative_location resource:Brazil . ?n rdf:type ontology:book } }
[]