Simple Question (Direct)
Simple Question
Q15943430
P21
Q290
USER
Which sex does Joost van Aken have ?
(Q15943430,P21,c(Q290))
action filter_type
action find
entity Q15943430
relation P21
type Q290
['Q15943430', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q15943430 property:P21 ?k }
Joost van Aken
action filter_type
action find
entity Joost van Aken
relation gender
type sex
['Joost van Aken', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Joost_van_Aken property:gender ?k }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15943430,P21,c(Q290))
action filter_type
action find
entity Q15943430
relation P21
type Q290
Joost Aken vans veld [ANSWER]
['Q15943430', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q15943430 property:P21 ?k }
male
Joost Aken vans veld male
male
action filter_type
action find
entity Joost van Aken
relation gender
type sex
['Joost van Aken', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Joost_van_Aken property:gender ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15943430
P19
Q56061
USER
Which administrative territory is the birthplace of Joost van Aken ?
(Q15943430,P19,c(Q56061))
action filter_type
action find
entity Q15943430
relation P19
type Q56061
['Q15943430', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q15943430 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Joost van Aken
action filter_type
action find
entity Joost van Aken
relation place of birth
type administrative territorial entity
['Joost van Aken', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Joost_van_Aken property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q9920
SYSTEM
Haarlem
Q9920
(Q15943430,P19,c(Q56061))
action filter_type
action find
entity Q15943430
relation P19
type Q56061
[ANSWER] is the birthplace of Joost van Aken
['Q15943430', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q15943430 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Haarlem
Haarlem is the birthplace of Joost van Aken
Haarlem
action filter_type
action find
entity Joost van Aken
relation place of birth
type administrative territorial entity
['Joost van Aken', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Joost_van_Aken property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15943430
P27
Q15617994
USER
Which administrative territory is the native country of Joost van Aken ?
(Q15943430,P27,c(Q15617994))
action filter_type
action find
entity Q15943430
relation P27
type Q15617994
['Q15943430', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q15943430 property:P27 ?b }
Joost van Aken
action filter_type
action find
entity Joost van Aken
relation country of citizenship
type designation for an administrative territorial entity
['Joost van Aken', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Joost_van_Aken property:country_of_citizenship ?b }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q15943430,P27,c(Q15617994))
action filter_type
action find
entity Q15943430
relation P27
type Q15617994
[ANSWER] is the native country of Joost van Aken
['Q15943430', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q15943430 property:P27 ?b }
Kingdom of the Netherlands
Kingdom of the Netherlands is the native country of Joost van Aken
Kingdom of the Netherlands
action filter_type
action find
entity Joost van Aken
relation country of citizenship
type designation for an administrative territorial entity
['Joost van Aken', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Joost_van_Aken property:country_of_citizenship ?b }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5703820 Q15943430
P27 P17
Q15617994
USER
Which administrative territories are Joost van Aken a civilian of or are Langar, Mazandaran located in ?
OR((Q15943430,P27,c(Q15617994)), (Q5703820,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q15943430
relation P27
action find
entity Q5703820
relation P17
type Q15617994
{'OR': [['Q15943430', 'P27', {'concept': 'Q15617994'}], ['Q5703820', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q15943430 property:P27 ?u } UNION { resource:Q5703820 property:P17 ?u } } }
Langar, Mazandaran Joost van Aken
action filter_type
action union
action find
entity Joost van Aken
relation country of citizenship
action find
entity Langar, Mazandaran
relation country
type designation for an administrative territorial entity
{'OR': [['Joost van Aken', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Langar, Mazandaran', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Joost_van_Aken property:country_of_citizenship ?u } UNION { resource:Langar,_Mazandaran property:country ?u } } }
[]
designation for an administrative territorial entity
Q29999 Q794
SYSTEM
Kingdom of the Netherlands, Iran
Q29999 Q794
OR((Q15943430,P27,c(Q15617994)), (Q5703820,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q15943430
relation P27
action find
entity Q5703820
relation P17
type Q15617994
[ANSWERS] are Joost van Aken a civilian of or are Langar, Mazandaran located in
{'OR': [['Q15943430', 'P27', {'concept': 'Q15617994'}], ['Q5703820', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q15943430 property:P27 ?u } UNION { resource:Q5703820 property:P17 ?u } } }
Kingdom of the Netherlands Iran
Kingdom of the Netherlands and Iran are Joost van Aken a civilian of or are Langar, Mazandaran located in
Kingdom of the Netherlands Iran
action filter_type
action union
action find
entity Joost van Aken
relation country of citizenship
action find
entity Langar, Mazandaran
relation country
type designation for an administrative territorial entity
{'OR': [['Joost van Aken', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Langar, Mazandaran', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Joost_van_Aken property:country_of_citizenship ?u } UNION { resource:Langar,_Mazandaran property:country ?u } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q515 Q20667921 Q15617994
USER
Which administrative territories contain approximately 3 cities and french administrative divisions as their capital ?
(c(Q15617994),P36,c(Q515)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
value 3
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ?n . VALUES ( ?n ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } GROUP BY ?v } . FILTER ( ?j = 3 ) }
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ?n . VALUES ( ?n ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?v } . FILTER ( ?j = 3 ) }
[]
city type of french administrative division designation for an administrative territorial entity
Q12703 Q12569
SYSTEM
Pyrénées-Atlantiques, Loire
Q12703 Q12569
(c(Q15617994),P36,c(Q515)|c(Q20667921))
action approx
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
value 3
[ANSWERS] contain approximately 3 cities and french administrative divisions as their capital
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ?n . VALUES ( ?n ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } GROUP BY ?v } . FILTER ( ?j = 3 ) }
Pyrénées-Atlantiques Loire
Pyrénées-Atlantiques and Loire contain approximately 3 cities and french administrative divisions as their capital
Pyrénées-Atlantiques Loire
action approx
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ?n . VALUES ( ?n ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?v } . FILTER ( ?j = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29999
P495
Q334453
USER
Which division has Kingdom of the Netherlands as its place of origin ?
(c(Q334453),P495,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P495
type Q334453
[{'concept': 'Q334453'}, 'P495', 'Q29999']
SELECT DISTINCT ?u WHERE { ?u property:P495 resource:Q29999 . ?u rdf:type ontology:Q334453 }
Kingdom of the Netherlands
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country of origin
type division
[{'concept': 'division'}, 'country of origin', 'Kingdom of the Netherlands']
SELECT DISTINCT ?u WHERE { ?u property:country_of_origin resource:Kingdom_of_the_Netherlands . ?u rdf:type ontology:division }
[]
division
Q2081550
SYSTEM
DSFA Records
Q2081550
(c(Q334453),P495,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P495
type Q334453
[ANSWER] has Kingdom of the Netherlands as its place of origin
[{'concept': 'Q334453'}, 'P495', 'Q29999']
SELECT DISTINCT ?u WHERE { ?u property:P495 resource:Q29999 . ?u rdf:type ontology:Q334453 }
DSFA Records
DSFA Records has Kingdom of the Netherlands as its place of origin
DSFA Records
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation country of origin
type division
[{'concept': 'division'}, 'country of origin', 'Kingdom of the Netherlands']
SELECT DISTINCT ?u WHERE { ?u property:country_of_origin resource:Kingdom_of_the_Netherlands . ?u rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29999
P530
Q1048835
USER
Which political territory is known to have diplomatic connections with Kingdom of the Netherlands ?
(c(Q1048835),P530,Q29999)
action filter_type
action find
entity Q29999
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q29999']
SELECT DISTINCT ?l WHERE { resource:Q29999 property:P530 ?l . ?l rdf:type ontology:Q1048835 }
Kingdom of the Netherlands
action filter_type
action find
entity Kingdom of the Netherlands
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Kingdom of the Netherlands']
SELECT DISTINCT ?l WHERE { resource:Kingdom_of_the_Netherlands property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(c(Q1048835),P530,Q29999)
action filter_type
action find
entity Q29999
relation P530
type Q1048835
[ANSWER] is known to have diplomatic connections with Kingdom of the Netherlands
[{'concept': 'Q1048835'}, 'P530', 'Q29999']
SELECT DISTINCT ?l WHERE { resource:Q29999 property:P530 ?l . ?l rdf:type ontology:Q1048835 }
Canada
Canada is known to have diplomatic connections with Kingdom of the Netherlands
Canada
action filter_type
action find
entity Kingdom of the Netherlands
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Kingdom of the Netherlands']
SELECT DISTINCT ?l WHERE { resource:Kingdom_of_the_Netherlands property:diplomatic_relation ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29999
P137
Q15056995
USER
Which aircraft model can be described as facility operator of Kingdom of the Netherlands ?
(c(Q15056995),P137,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P137
type Q15056995
[{'concept': 'Q15056995'}, 'P137', 'Q29999']
SELECT DISTINCT ?k WHERE { ?k property:P137 resource:Q29999 . ?k rdf:type ontology:Q15056995 }
Kingdom of the Netherlands
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation operator
type aircraft model
[{'concept': 'aircraft model'}, 'operator', 'Kingdom of the Netherlands']
SELECT DISTINCT ?k WHERE { ?k property:operator resource:Kingdom_of_the_Netherlands . ?k rdf:type ontology:aircraft_model }
[]
aircraft model
Q17907664
SYSTEM
NA-27
Q17907664
(c(Q15056995),P137,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P137
type Q15056995
[ANSWER] can be described as facility operator of Kingdom of the Netherlands
[{'concept': 'Q15056995'}, 'P137', 'Q29999']
SELECT DISTINCT ?k WHERE { ?k property:P137 resource:Q29999 . ?k rdf:type ontology:Q15056995 }
NA-27
NA-27 can be described as facility operator of Kingdom of the Netherlands
NA-27
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation operator
type aircraft model
[{'concept': 'aircraft model'}, 'operator', 'Kingdom of the Netherlands']
SELECT DISTINCT ?k WHERE { ?k property:operator resource:Kingdom_of_the_Netherlands . ?k rdf:type ontology:aircraft_model }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29999
P1376
Q56061
USER
What is the capital of Kingdom of the Netherlands ?
(c(Q56061),P1376,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q29999']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . ?a property:P1376 resource:Q29999 }
Kingdom of the Netherlands
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Kingdom of the Netherlands']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . ?a property:capital_of resource:Kingdom_of_the_Netherlands }
[]
administrative territorial entity
Q727
SYSTEM
Amsterdam
Q727
(c(Q56061),P1376,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P1376
type Q56061
The capital of Kingdom of the Netherlands is [ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q29999']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . ?a property:P1376 resource:Q29999 }
Amsterdam
The capital of Kingdom of the Netherlands is Amsterdam
Amsterdam
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Kingdom of the Netherlands']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . ?a property:capital_of resource:Kingdom_of_the_Netherlands }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29999
P112
Q56061
USER
Which administrative territory was established by that administrative territory ?
(c(Q56061),P112,Q727)
action filter_type
action find_reverse
entity Q29999
relation P112
type Q56061
[{'concept': 'Q56061'}, 'P112', 'Q727']
SELECT DISTINCT ?o WHERE { ?o property:P112 resource:Q29999 . ?o rdf:type ontology:Q56061 }
Kingdom of the Netherlands
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation founder
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'founder', 'Amsterdam']
SELECT DISTINCT ?o WHERE { ?o property:founder resource:Kingdom_of_the_Netherlands . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(c(Q56061),P112,Q727)
action filter_type
action find_reverse
entity Q29999
relation P112
type Q56061
[ANSWER] was established by that administrative territory
[{'concept': 'Q56061'}, 'P112', 'Q727']
SELECT DISTINCT ?o WHERE { ?o property:P112 resource:Q29999 . ?o rdf:type ontology:Q56061 }
European Union
European Union was established by that administrative territory
European Union
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation founder
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'founder', 'Amsterdam']
SELECT DISTINCT ?o WHERE { ?o property:founder resource:Kingdom_of_the_Netherlands . ?o rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5816487 Q17907664
P137 P17
Q15617994
USER
Which administrative territories operate NA-27 or are Rezayi, Lorestan located in ?
OR((Q17907664,P137,c(Q15617994)), (Q5816487,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q17907664
relation P137
action find
entity Q5816487
relation P17
type Q15617994
{'OR': [['Q17907664', 'P137', {'concept': 'Q15617994'}], ['Q5816487', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q17907664 property:P137 ?k } UNION { resource:Q5816487 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Rezayi, Lorestan NA-27
action filter_type
action union
action find
entity NA-27
relation operator
action find
entity Rezayi, Lorestan
relation country
type designation for an administrative territorial entity
{'OR': [['NA-27', 'operator', {'concept': 'designation for an administrative territorial entity'}], ['Rezayi, Lorestan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:NA-27 property:operator ?k } UNION { resource:Rezayi,_Lorestan property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q794
SYSTEM
Kingdom of the Netherlands, Iran
Q29999 Q794
OR((Q17907664,P137,c(Q15617994)), (Q5816487,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q17907664
relation P137
action find
entity Q5816487
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q17907664', 'P137', {'concept': 'Q15617994'}], ['Q5816487', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q17907664 property:P137 ?k } UNION { resource:Q5816487 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Kingdom of the Netherlands Iran
Which administrative territories operate NA-27 or are Rezayi, Lorestan located in
Kingdom of the Netherlands Iran
action filter_type
action union
action find
entity NA-27
relation operator
action find
entity Rezayi, Lorestan
relation country
type designation for an administrative territorial entity
{'OR': [['NA-27', 'operator', {'concept': 'designation for an administrative territorial entity'}], ['Rezayi, Lorestan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:NA-27 property:operator ?k } UNION { resource:Rezayi,_Lorestan property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with around 98 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 98
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 . ?e property:P530 ?i } GROUP BY ?e } . FILTER ( ?k = 98 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 98
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity . ?e property:diplomatic_relation ?i } GROUP BY ?e } . FILTER ( ?k = 98 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 98
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 . ?e property:P530 ?i } GROUP BY ?e } . FILTER ( ?k = 98 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 98
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity . ?e property:diplomatic_relation ?i } GROUP BY ?e } . FILTER ( ?k = 98 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P163
Q14660
USER
What is the name of flag associated with Iran ?
(Q794,P163,c(Q14660))
action filter_type
action find
entity Q794
relation P163
type Q14660
['Q794', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q14660 . resource:Q794 property:P163 ?u }
Iran
action filter_type
action find
entity Iran
relation flag
type flag
['Iran', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:flag . resource:Iran property:flag ?u }
[]
flag
Q126622
SYSTEM
Flag of Iran
Q126622
(Q794,P163,c(Q14660))
action filter_type
action find
entity Q794
relation P163
type Q14660
The name of flag associated with Iran is the [ANSWER]
['Q794', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q14660 . resource:Q794 property:P163 ?u }
Flag of Iran
The name of flag associated with Iran is the Flag of Iran
Flag of Iran
action filter_type
action find
entity Iran
relation flag
type flag
['Iran', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:flag . resource:Iran property:flag ?u }
[]