Simple Question (Direct)
Simple Question
Q7916723
P19
Q15617994
USER
Which administrative territory is the birthplace of Vasiliki Moskofidou ?
(Q7916723,P19,c(Q15617994))
action filter_type
action find
entity Q7916723
relation P19
type Q15617994
['Q7916723', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q7916723 property:P19 ?j . ?j rdf:type ontology:Q15617994 }
Vasiliki Moskofidou
action filter_type
action find
entity Vasiliki Moskofidou
relation place of birth
type designation for an administrative territorial entity
['Vasiliki Moskofidou', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Vasiliki_Moskofidou property:place_of_birth ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q7916723,P19,c(Q15617994))
action filter_type
action find
entity Q7916723
relation P19
type Q15617994
In [ANSWER] is the birthplace of Vasiliki Moskofidou
['Q7916723', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q7916723 property:P19 ?j . ?j rdf:type ontology:Q15617994 }
Greece
In Greece is the birthplace of Vasiliki Moskofidou
Greece
action filter_type
action find
entity Vasiliki Moskofidou
relation place of birth
type designation for an administrative territorial entity
['Vasiliki Moskofidou', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Vasiliki_Moskofidou property:place_of_birth ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7916723
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q41,P27,c(Q15617994))
action filter_type
action find
entity Q7916723
relation P27
type Q15617994
['Q41', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q7916723 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Vasiliki Moskofidou
action filter_type
action find
entity Vasiliki Moskofidou
relation country of citizenship
type designation for an administrative territorial entity
['Greece', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Vasiliki_Moskofidou property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q41,P27,c(Q15617994))
action filter_type
action find
entity Q7916723
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q41', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q7916723 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Greece
That person belongs to the Greece
Greece
action filter_type
action find
entity Vasiliki Moskofidou
relation country of citizenship
type designation for an administrative territorial entity
['Greece', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Vasiliki_Moskofidou property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q56061 Q20667921 Q15617994
USER
How many administrative territories are approximately 2 administrative territories and french administrative divisions the capital of ?
(c(Q15617994),P36,c(Q56061)|c(Q20667921))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
value 2
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?x WHERE { VALUES ( ?h ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?t rdf:type ?h } GROUP BY ?x } }
action count
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?x WHERE { VALUES ( ?h ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?t rdf:type ?h } GROUP BY ?x } }
[]
administrative territorial entity type of french administrative division designation for an administrative territorial entity
SYSTEM
17
Q2998020 Q258 Q3259 Q12798 Q1020 Q41 Q30 Q230 Q12730 Q199688 Q3278 Q12772 Q12661 Q12536 Q3164 Q517333 Q17
(c(Q15617994),P36,c(Q56061)|c(Q20667921))
action count
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?x WHERE { VALUES ( ?h ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?t rdf:type ?h } GROUP BY ?x } }
Corse South Africa Cantal Vendée Malawi Greece United States of America Georgia Haute-Saône Almohad Charente-Maritime Tarn Nord Abbasid caliphate Ardennes Principality of Polotsk Japan
17
action count
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?x WHERE { VALUES ( ?h ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?t rdf:type ?h } GROUP BY ?x } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1934915 Q41
P17
Q15617994
USER
Which administrative territories are Greece or Tundla Railway Colony a part of ?
OR((Q41,P17,c(Q15617994)), (Q1934915,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q41
relation P17
action find
entity Q1934915
relation P17
type Q15617994
{'OR': [['Q41', 'P17', {'concept': 'Q15617994'}], ['Q1934915', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q41 property:P17 ?r } UNION { resource:Q1934915 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Tundla Railway Colony Greece
action filter_type
action union
action find
entity Greece
relation country
action find
entity Tundla Railway Colony
relation country
type designation for an administrative territorial entity
{'OR': [['Greece', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tundla Railway Colony', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Greece property:country ?r } UNION { resource:Tundla_Railway_Colony property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41 Q668
SYSTEM
Greece, India
Q41 Q668
OR((Q41,P17,c(Q15617994)), (Q1934915,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q41
relation P17
action find
entity Q1934915
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q41', 'P17', {'concept': 'Q15617994'}], ['Q1934915', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q41 property:P17 ?r } UNION { resource:Q1934915 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Greece India
Which administrative territories are Greece or Tundla Railway Colony a part of
Greece India
action filter_type
action union
action find
entity Greece
relation country
action find
entity Tundla Railway Colony
relation country
type designation for an administrative territorial entity
{'OR': [['Greece', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tundla Railway Colony', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Greece property:country ?r } UNION { resource:Tundla_Railway_Colony property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q486233
P840
Q166142
USER
Do Call of Duty: Modern Warfare 3 have their narrative set in those administrative territories ?
(Q486233,P840,Q41) (Q486233,P840,Q668)
action is_in
entity prev_answer
action find
entity Q486233
relation P840
['Q486233', 'P840', 'Q41'] ['Q486233', 'P840', 'Q668']
ASK WHERE { resource:Q486233 property:P840 ?d . VALUES ( ?d ) { ( resource:Q41 ) ( resource:Q668 ) } }
Call of Duty: Modern Warfare 3
action is_in
entity prev_answer
action find
entity Call of Duty: Modern Warfare 3
relation narrative location
['Call of Duty: Modern Warfare 3', 'narrative location', 'Greece'] ['Call of Duty: Modern Warfare 3', 'narrative location', 'India']
ASK WHERE { resource:Call_of_Duty:_Modern_Warfare_3 property:narrative_location ?d . VALUES ( ?d ) { ( resource:Greece ) ( resource:India ) } }
[]
application
SYSTEM
YES
(Q486233,P840,Q41) (Q486233,P840,Q668)
action is_in
entity prev_answer
action find
entity Q486233
relation P840
[ANSWER]
['Q486233', 'P840', 'Q41'] ['Q486233', 'P840', 'Q668']
ASK WHERE { resource:Q486233 property:P840 ?d . VALUES ( ?d ) { ( resource:Q41 ) ( resource:Q668 ) } }
Yes
action is_in
entity prev_answer
action find
entity Call of Duty: Modern Warfare 3
relation narrative location
['Call of Duty: Modern Warfare 3', 'narrative location', 'Greece'] ['Call of Duty: Modern Warfare 3', 'narrative location', 'India']
ASK WHERE { resource:Call_of_Duty:_Modern_Warfare_3 property:narrative_location ?d . VALUES ( ?d ) { ( resource:Greece ) ( resource:India ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17526676 Q486233
P840 P17
Q15617994
USER
Which administrative territories are Call of Duty: Modern Warfare 3 set in or are Church Of St George present in ?
OR((Q486233,P840,c(Q15617994)), (Q17526676,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q486233
relation P840
action find
entity Q17526676
relation P17
type Q15617994
{'OR': [['Q486233', 'P840', {'concept': 'Q15617994'}], ['Q17526676', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q17526676 property:P17 ?f } UNION { resource:Q486233 property:P840 ?f } } . ?f rdf:type ontology:Q15617994 }
Church Of St George Call of Duty: Modern Warfare 3
action filter_type
action union
action find
entity Call of Duty: Modern Warfare 3
relation narrative location
action find
entity Church Of St George
relation country
type designation for an administrative territorial entity
{'OR': [['Call of Duty: Modern Warfare 3', 'narrative location', {'concept': 'designation for an administrative territorial entity'}], ['Church Of St George', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Church_Of_St_George property:country ?f } UNION { resource:Call_of_Duty:_Modern_Warfare_3 property:narrative_location ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q159 Q41 Q145 Q668 Q38
SYSTEM
France, Russia, Greece, United Kingdom, India, Italy
Q142 Q159 Q41 Q145 Q668 Q38
OR((Q486233,P840,c(Q15617994)), (Q17526676,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q486233
relation P840
action find
entity Q17526676
relation P17
type Q15617994
[ANSWERS] are Call of Duty: Modern Warfare 3 set in or are Church Of St George present in
{'OR': [['Q486233', 'P840', {'concept': 'Q15617994'}], ['Q17526676', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q17526676 property:P17 ?f } UNION { resource:Q486233 property:P840 ?f } } . ?f rdf:type ontology:Q15617994 }
France Russia Greece United Kingdom India Italy
France, Russia, Greece, United Kingdom, India and Italy are Call of Duty: Modern Warfare 3 set in or are Church Of St George present in
France Russia Greece United Kingdom India Italy
action filter_type
action union
action find
entity Call of Duty: Modern Warfare 3
relation narrative location
action find
entity Church Of St George
relation country
type designation for an administrative territorial entity
{'OR': [['Call of Duty: Modern Warfare 3', 'narrative location', {'concept': 'designation for an administrative territorial entity'}], ['Church Of St George', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Church_Of_St_George property:country ?f } UNION { resource:Call_of_Duty:_Modern_Warfare_3 property:narrative_location ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4199388
P530
Q1048835
USER
Are лл known to have diplomatic connections with those administrative territories ?
(Q4199388,P530,Q142) (Q4199388,P530,Q159) (Q4199388,P530,Q41) (Q4199388,P530,Q145) (Q4199388,P530,Q668) (Q4199388,P530,Q38)
action is_in
entity prev_answer
action find
entity Q4199388
relation P530
['Q4199388', 'P530', 'Q142'] ['Q4199388', 'P530', 'Q159'] ['Q4199388', 'P530', 'Q41'] ['Q4199388', 'P530', 'Q145'] ['Q4199388', 'P530', 'Q668'] ['Q4199388', 'P530', 'Q38']
ASK WHERE { resource:Q4199388 property:P530 ?w . VALUES ( ?w ) { ( resource:Q142 ) ( resource:Q159 ) ( resource:Q41 ) } }
лл
action is_in
entity prev_answer
action find
entity лл
relation diplomatic relation
['лл', 'diplomatic relation', 'France'] ['лл', 'diplomatic relation', 'Russia'] ['лл', 'diplomatic relation', 'Greece'] ['лл', 'diplomatic relation', 'United Kingdom'] ['лл', 'diplomatic relation', 'India'] ['лл', 'diplomatic relation', 'Italy']
ASK WHERE { resource:лл property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:France ) ( resource:Russia ) ( resource:Greece ) } }
[]
political territorial entity
SYSTEM
NO
(Q4199388,P530,Q142) (Q4199388,P530,Q159) (Q4199388,P530,Q41) (Q4199388,P530,Q145) (Q4199388,P530,Q668) (Q4199388,P530,Q38)
action is_in
entity prev_answer
action find
entity Q4199388
relation P530
[ANSWER]
['Q4199388', 'P530', 'Q142'] ['Q4199388', 'P530', 'Q159'] ['Q4199388', 'P530', 'Q41'] ['Q4199388', 'P530', 'Q145'] ['Q4199388', 'P530', 'Q668'] ['Q4199388', 'P530', 'Q38']
ASK WHERE { resource:Q4199388 property:P530 ?w . VALUES ( ?w ) { ( resource:Q142 ) ( resource:Q159 ) ( resource:Q41 ) } }
No
action is_in
entity prev_answer
action find
entity лл
relation diplomatic relation
['лл', 'diplomatic relation', 'France'] ['лл', 'diplomatic relation', 'Russia'] ['лл', 'diplomatic relation', 'Greece'] ['лл', 'diplomatic relation', 'United Kingdom'] ['лл', 'diplomatic relation', 'India'] ['лл', 'diplomatic relation', 'Italy']
ASK WHERE { resource:лл property:diplomatic_relation ?w . VALUES ( ?w ) { ( resource:France ) ( resource:Russia ) ( resource:Greece ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q668
P937
Q43229
USER
Who is an organization who works at India ?
(c(Q43229),P937,Q668)
action filter_type
action find_reverse
entity Q668
relation P937
type Q43229
[{'concept': 'Q43229'}, 'P937', 'Q668']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q668 . ?l rdf:type ontology:Q43229 }
India
action filter_type
action find_reverse
entity India
relation work location
type organization
[{'concept': 'organization'}, 'work location', 'India']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:India . ?l rdf:type ontology:organization }
[]
organization
Q7562666
SYSTEM
Soolamangalam Sisters
Q7562666
(c(Q43229),P937,Q668)
action filter_type
action find_reverse
entity Q668
relation P937
type Q43229
An organization works at India is called [ANSWER]
[{'concept': 'Q43229'}, 'P937', 'Q668']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q668 . ?l rdf:type ontology:Q43229 }
Soolamangalam Sisters
An organization works at India is called Soolamangalam Sisters
Soolamangalam Sisters
action filter_type
action find_reverse
entity India
relation work location
type organization
[{'concept': 'organization'}, 'work location', 'India']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:India . ?l rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7562666
P136
Q151885
USER
Which concept can be considered as genre of that organization ?
(Q7562666,P136,c(Q151885))
action filter_type
action find
entity Q7562666
relation P136
type Q151885
['Q7562666', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q151885 . resource:Q7562666 property:P136 ?p }
Soolamangalam Sisters
action filter_type
action find
entity Soolamangalam Sisters
relation genre
type concept
['Soolamangalam Sisters', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:concept . resource:Soolamangalam_Sisters property:genre ?p }
[]
concept
Q956883
SYSTEM
Carnatic music
Q956883
(Q7562666,P136,c(Q151885))
action filter_type
action find
entity Q7562666
relation P136
type Q151885
[ANSWER] can be considered as genre of that organization
['Q7562666', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q151885 . resource:Q7562666 property:P136 ?p }
Carnatic music
Carnatic music can be considered as genre of that organization
Carnatic music
action filter_type
action find
entity Soolamangalam Sisters
relation genre
type concept
['Soolamangalam Sisters', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:concept . resource:Soolamangalam_Sisters property:genre ?p }
[]