Simple Question (Direct)
Simple Question
Q18575528
P19
Q13220204
USER
Which administrative country subdivision was Ab Persijn born in ?
(Q18575528,P19,c(Q13220204))
action filter_type
action find
entity Q18575528
relation P19
type Q13220204
['Q18575528', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?n WHERE { resource:Q18575528 property:P19 ?n . ?n rdf:type ontology:Q13220204 }
Ab Persijn
action filter_type
action find
entity Ab Persijn
relation place of birth
type second-level administrative country subdivision
['Ab Persijn', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?n WHERE { resource:Ab_Persijn property:place_of_birth ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q9954
SYSTEM
Purmerend
Q9954
(Q18575528,P19,c(Q13220204))
action filter_type
action find
entity Q18575528
relation P19
type Q13220204
Ab Persijn born in de [ANSWER]
['Q18575528', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?n WHERE { resource:Q18575528 property:P19 ?n . ?n rdf:type ontology:Q13220204 }
Purmerend
Ab Persijn born in de Purmerend
Purmerend
action filter_type
action find
entity Ab Persijn
relation place of birth
type second-level administrative country subdivision
['Ab Persijn', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?n WHERE { resource:Ab_Persijn property:place_of_birth ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18575528
P735
Q82799
USER
Which name is Ab Persijn known by ?
(Q18575528,P735,c(Q82799))
action filter_type
action find
entity Q18575528
relation P735
type Q82799
['Q18575528', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q82799 . resource:Q18575528 property:P735 ?o }
Ab Persijn
action filter_type
action find
entity Ab Persijn
relation given name
type name
['Ab Persijn', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:name . resource:Ab_Persijn property:given_name ?o }
[]
name
Q19305440
SYSTEM
Ab
Q19305440
(Q18575528,P735,c(Q82799))
action filter_type
action find
entity Q18575528
relation P735
type Q82799
Persijn is known as [ANSWER]
['Q18575528', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q82799 . resource:Q18575528 property:P735 ?o }
Ab
Persijn is known as Ab
Ab
action filter_type
action find
entity Ab Persijn
relation given name
type name
['Ab Persijn', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:name . resource:Ab_Persijn property:given_name ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9954
P17
Q15617994
USER
How many administrative territories are Purmerend present in ?
(Q9954,P17,c(Q15617994))
action count
action filter_type
action find
entity Q9954
relation P17
type Q15617994
['Q9954', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q9954 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Purmerend
action count
action filter_type
action find
entity Purmerend
relation country
type designation for an administrative territorial entity
['Purmerend', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Purmerend property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q55
(Q9954,P17,c(Q15617994))
action count
action filter_type
action find
entity Q9954
relation P17
type Q15617994
[ANSWER]
['Q9954', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q9954 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Netherlands
1
action count
action filter_type
action find
entity Purmerend
relation country
type designation for an administrative territorial entity
['Purmerend', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Purmerend property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1132260
Q15617994
USER
And how about Cordillera Negra?
(Q1132260,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1132260
relation P17
type Q15617994
['Q1132260', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q1132260 property:P17 ?t }
Cordillera Negra
action count
action filter_type
action find
entity Cordillera Negra
relation country
type designation for an administrative territorial entity
['Cordillera Negra', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cordillera_Negra property:country ?t }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q1132260,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1132260
relation P17
type Q15617994
[ANSWER]
['Q1132260', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q1132260 property:P17 ?t }
1
action count
action filter_type
action find
entity Cordillera Negra
relation country
type designation for an administrative territorial entity
['Cordillera Negra', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cordillera_Negra property:country ?t }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for max number of names ?
(c(Q82799),P407,Q447117)
action argmax
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?l ) { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P407 ?k . ?k rdf:type ontology:Q34770 . ?z rdf:type ontology:Q82799 } GROUP BY ?k } } . { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:P407 ?x . ?x rdf:type ontology:Q34770 . ?g rdf:type ontology:Q82799 } GROUP BY ?x } . FILTER ( ?f = ?l ) }
action argmax
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?l ) { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:language_of_work_or_name ?k . ?k rdf:type ontology:language . ?z rdf:type ontology:name } GROUP BY ?k } } . { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:language_of_work_or_name ?x . ?x rdf:type ontology:language . ?g rdf:type ontology:name } GROUP BY ?x } . FILTER ( ?f = ?l ) }
[]
language name
Q1860
SYSTEM
English
Q1860
(c(Q82799),P407,Q447117)
action argmax
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[ANSWER] is the languages of work for max number of names
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?l ) { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P407 ?k . ?k rdf:type ontology:Q34770 . ?z rdf:type ontology:Q82799 } GROUP BY ?k } } . { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:P407 ?x . ?x rdf:type ontology:Q34770 . ?g rdf:type ontology:Q82799 } GROUP BY ?x } . FILTER ( ?f = ?l ) }
English
English is the languages of work for max number of names
English
action argmax
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?l ) { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:language_of_work_or_name ?k . ?k rdf:type ontology:language . ?z rdf:type ontology:name } GROUP BY ?k } } . { SELECT DISTINCT ?x ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:language_of_work_or_name ?x . ?x rdf:type ontology:language . ?g rdf:type ontology:name } GROUP BY ?x } . FILTER ( ?f = ?l ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P361
Q5962346
USER
Which classification schemes are that language a component of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q5962346 . resource:Q1860 property:P361 ?f }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:classification_scheme . resource:English property:part_of ?f }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWERS] are that language a component of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q5962346 . resource:Q1860 property:P361 ?f }
Anglic languages Anglo-Frisian languages
Anglic languages and Anglo-Frisian languages are that language a component of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:classification_scheme . resource:English property:part_of ?f }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18130932
P361
Q34770
USER
Are Traditional Chinese a part of those classification schemes ?
(Q18130932,P361,Q1346342) (Q18130932,P361,Q5329170)
action is_in
entity prev_answer
action find
entity Q18130932
relation P361
['Q18130932', 'P361', 'Q1346342'] ['Q18130932', 'P361', 'Q5329170']
ASK WHERE { resource:Q18130932 property:P361 ?o . VALUES ( ?o ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } }
Traditional Chinese
action is_in
entity prev_answer
action find
entity Traditional Chinese
relation part of
['Traditional Chinese', 'part of', 'Anglic languages'] ['Traditional Chinese', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:Traditional_Chinese property:part_of ?o . VALUES ( ?o ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } }
[]
language
SYSTEM
NO
(Q18130932,P361,Q1346342) (Q18130932,P361,Q5329170)
action is_in
entity prev_answer
action find
entity Q18130932
relation P361
[ANSWER]
['Q18130932', 'P361', 'Q1346342'] ['Q18130932', 'P361', 'Q5329170']
ASK WHERE { resource:Q18130932 property:P361 ?o . VALUES ( ?o ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } }
No
action is_in
entity prev_answer
action find
entity Traditional Chinese
relation part of
['Traditional Chinese', 'part of', 'Anglic languages'] ['Traditional Chinese', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:Traditional_Chinese property:part_of ?o . VALUES ( ?o ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } }
[]